这根本不起作用。
function owner_columns($columns)
{
$columns[\'views\'] = \'Owner\';
return $columns;
}
add_filter(\'manage_edit-listing_columns\', \'owner_columns\');
function custom_posts_table_content( $column_name, $post_id )
{
if( $column_name == \'Owner\' )
{
echo \'Test\';
}
}
add_action( \'manage_edit-listing_custom_column\', \'custom_posts_table_content\',10,2);