hide screen options
-
Hi,
I want to give an editor access to menu items with only the CSS Option on the Menus page but not access to Screen Options.
When I add this filter to my function.php:
function remove_screen_options_tab() { return false; } if ( ! current_user_can( 'administrator' ) ) { add_filter('screen_options_show_screen', 'remove_screen_options_tab'); }
The filter adds Filter Attribute, Link Target, Link Relationship (XFN0 and description to the menu items. When I remove the filter from the function.php the added options disappear – they are still not checked.
Thank you for your time
Jerry
- The topic ‘hide screen options’ is closed to new replies.