d9ea3fff0eab4a943be31754ec7802f19a44ffa3.svn-base 319 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
<?php 
//禁止直接访问
if ( ! defined( 'ABSPATH' ) ) exit;
function ram_custom_taxonomy_columns( $columns )
{
    $columns['id'] = __('id');


    return $columns;
}

function ram_custom_taxonomy_columns_content( $content, $column_name, $term_id )
{

    if($column_name=="id"){
        echo $term_id;
    }
    
}