unset title-tag in post columns?
-
So I have a post type that I am trying to remove the title tag column from but its not working. I have a couple of other columns I’ve removed using the function so it’s only this part of the code that is not working.
unset($columns['title-tag']);
The original function is here for reference
function my_columns_filter( $columns ) { unset($columns['tags']); unset($columns['page-meta-robots']); unset($columns['title-tag']); return $columns; }
Did I not use the correct string for the title tag?
- The topic ‘unset title-tag in post columns?’ is closed to new replies.