How could I add an extra column in the posts table admin menu with a plugin?
How could I add an extra column in the posts table admin menu with a plugin?
How could I add an extra column in the posts table admin menu
With a plugin.
What exactly do you want to do by adding a column? Perhaps there is already a plugin to do what you want.
Well, I just want to extend an existing plugin really - WP-Postviews. I'm not interested in displaying views publicly but want them to show up in the posts table.
I used to do this with a hack but I don't think it's going to work with the newer version of WP and would rather just modify the plugin or add it to my own custom plugin.
Ah, I found what I was looking for.
The manage_posts_columns / manage_posts_custom_column hooks should do the trick.
You must log in to post.