Title: wordpress functions
Last modified: August 20, 2016

---

# wordpress functions

 *  [cook44j](https://wordpress.org/support/users/cook44j/)
 * (@cook44j)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/wordpress-functions/)
 * I dont know much about functions please forgive my inexperience. I have these
   functions added to my functions.php file on a hosted wordpress site. They work
   on my admin user account and on a test user account, but not on other user accounts.
   Below are the functions. Any help is appreciated.
 * add_action(‘screen_options_show_screen’,’remove_screen_options’,13);
    function
   remove_screen_options(){ return false;} if(!current_user_can(‘contributor’,’author’,’
   editor’,’edit_others_posts’)) add_action(‘after_setup_theme’,’remove_post_formats’,
   11); function remove_post_formats() { remove_theme_support(‘post-formats’);} 
   add_action(‘after_setup_theme’,’remove_post_thumbnails’,14); function remove_post_thumbnails(){
   remove_theme_support(‘post-thumbnails’);}

Viewing 1 replies (of 1 total)

 *  [WebTechGlobal](https://wordpress.org/support/users/webtechglobal/)
 * (@webtechglobal)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/wordpress-functions/#post-3347860)
 * This line is not for subscribers…
 * if(!current_user_can(‘contributor’,’author’,’editor’,’edit_others_posts’))
 * Did you test with a user account set to Editor or Author or Contributor?
 * Is it possible your test account is administrator and your other accounts are
   subscribers?
 * It is suitable for administrator due to “edit_others_posts”.

Viewing 1 replies (of 1 total)

The topic ‘wordpress functions’ is closed to new replies.

## Tags

 * [function](https://wordpress.org/support/topic-tag/function/)
 * [screen options](https://wordpress.org/support/topic-tag/screen-options/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [WebTechGlobal](https://wordpress.org/support/users/webtechglobal/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/wordpress-functions/#post-3347860)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
