Hi There,
I’m trying to hide the columns created on the post and page tables in wp-admin created by Smartcrawl. In particular, robots meta and title tag.
I have added this code to a custom plugin:
function remove_pages_columns($columns) {
// Remove checkbox column
unset($columns['page-title']);
return $columns;
}
add_filter('manage_pages_columns', 'remove_pages_columns');
function remove_post_columns($columns) {
// Remove the checkbox
unset($columns['page-title']);
// Remove the Author
unset($columns['page-meta-robots']);
return $columns;
}
add_filter('manage_posts_columns', 'remove_post_columns');
But it doesn’t have any affect – is there another way to achieve this?