Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #21240, comment 14


Ignore:
Timestamp:
07/29/2012 09:18:43 PM (13 years ago)
Author:
jtsternberg
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #21240, comment 14

    initial v1  
    99add_filter( 'show_taxonomy_columns', 'add_resource_category_column', 10, 2 );
    1010function add_resource_category_column( $tax_columns, $post_type ) {
    11         if ( $post_type == 'resources' ) $tax_columns[] = 'session-audiences';
     11        if ( $post_type == 'resources' ) $tax_columns[] = 'resource-categories';
    1212        return $tax_columns;
    1313}