前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
<?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; } }