I'm trying to add the category ID to the category list table for a custom post type using manage_{$taxonomy}_custom_column
, and I found out that the function is now deprecated.
The filter is now red on the following page with no usage information available: https://codex.wordpress.org/Plugin_API/Action_Reference/manage_posts_custom_column
And the following page says the filter is now deprecated, with no followup information since version 3: http://adambrown.info/p/wp_hooks/hook/manage_{$taxonomy}_custom_column
I came across this solution on github, but it doesn't work: https://gist.github.com/maxfenton/593473788c2259209694
I've not found any solution that serves as a replacement for manage_{$taxonomy}_custom_column
. Does anyone have any idea how to go about adding a category ID column in the category grid view?
Here is a screenshot showing where I want to add the ID:
Try this
Edited the code: