manage_posts_columns filter fires for CPT’s
-
If I want to manage the columns of the edit post screen I can use the filter manage_posts_columns. This will fire for posts as well as custom posts.
If I want to manage the columns of a specific edit CUSTOM post screen I can use the filter manage_$post_type_posts_columns.
What seems to be missing is a filter that only fires for posts, and not for custom posts. Or am I missing something? And if such a filter is not available, what would be a good way to get this to work?
The codex has this info:
https://codex.wordpress.org/Plugin_API/Filter_Reference/manage_posts_columnsI have also looked here, but found no solution:
https://make.wordpress.org/docs/plugin-developer-handbook/10-plugin-components/custom-list-table-columns/
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘manage_posts_columns filter fires for CPT’s’ is closed to new replies.