Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #14004


Ignore:
Timestamp:
06/20/2010 10:14:08 AM (15 years ago)
Author:
dd32
Comment:

Off the top of my head, This may be because page_rows() is used to display hierarchical types (instead of post_rows())

Can you try using the page filter instead? (I'm thinking its 'manage_pages_custom_column'?)

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14004 – Description

    initial v1  
    11When enabling a custom post-type to be hierarchical:
     2{{{
    23$args = array(
    34...
     
    56...
    67);
     8}}}
    79
    810When trying to show custom columns, everything displays blank.
     
    1315I.e, this action hook does not trigger when post type is hierarchical.
    1416
     17{{{
    1518add_action('manage_posts_custom_column',  'my_show_columns');
    1619function my_show_columns($name) {
     
    2124    }
    2225}
     26}}}