[wp-hackers] Why add_action(manage_posts_custom_column... dont fire?
pete at jointforcestech.com
Wed Feb 9 19:08:20 UTC 2011
Pages are hierarchical and posts are not.
On Wed, Feb 9, 2011 at 11:03 AM, Paul <paul at codehooligans.com> wrote:
> 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:
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers