Hide TSF metabox
-
Hi, I would like to hide the TSF box on CPT edit pages for non-admin users, can you tell me what the name of the box is I need to use. I tried below but it won’t work.
function remove_meta_boxes() { if ( !current_user_can('update_core')) { # Removes meta from Posts # remove_meta_box( 'tsf-inpost-box','post','normal'); } } add_action('admin_init','remove_meta_boxes');
And the same for the column in admin table, please.
It is not:
unset($columns[‘tsf-seo-bar-wrap’]);
Thank you.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Hide TSF metabox’ is closed to new replies.