[wp-trac] [WordPress Trac] #16006: managing custom columns

WordPress Trac wp-trac at lists.automattic.com
Tue Dec 28 15:18:25 UTC 2010


#16006: managing custom columns
---------------------------------------------+-----------------------------
 Reporter:  bmb                              |       Owner:
     Type:  enhancement                      |      Status:  new
 Priority:  normal                           |   Milestone:  Awaiting
Component:  Post Types                       |  Review
 Severity:  minor                            |     Version:  3.0.3
 Keywords:  custom column, custom post type  |  Resolution:
---------------------------------------------+-----------------------------

Comment (by bmb):

 Replying to [comment:1 knutsp]:
 > There is:
 >
 > $post_type = 'my-post-type';
 > add_filter( "manage_edit-{$post_type}_columns", 'your_function' );

 As far as I know, that is the same filter as
 `manage_{$post_type}_posts_columns` for adding columns, not the action for
 filling them.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16006#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list