[wp-hackers] Why add_action(manage_posts_custom_column... dont fire?

Paul paul at codehooligans.com
Wed Feb 9 19:03:38 UTC 2011


To be accurate there are too hooks. Depends on how your Post Type is setup

For Posts (hiearchical)
add_action("manage_posts_custom_column", "my_custom_columns");

Pages (non-hiearchical)
add_action("manage_pages_custom_column", "my_custom_columns");


On Feb 9, 2011, at 1:59 PM, Rafael Ehlers wrote:

> After 3 days, finally figured what is the problem:
> 
> on register_post_type, hierarchical must be set to false
> to add_action("manage_posts_custom_column"... properly fires!
> 
> Thanks anyway guys!
> 
> On Wed, Feb 9, 2011 at 4:24 PM, Matt Martz <matt at sivel.net> wrote:



More information about the wp-hackers mailing list