更新-
2018年11月
这可以在中挂接自定义函数
manage_shop_order_posts_custom_column
add_action( 'manage_shop_order_posts_custom_column' , 'custom_orders_list_column_content', 10, 2 );
function custom_orders_list_column_content( $column, $post_id ) {
if ( $column == 'order_title' || $column == 'order_number' )
{
// The billing phone for example (to be repaced by your custom field meta_key)
$custom_field_value = get_post_meta( $post_id, '_billing_phone', true );
if( ! empty( $custom_field_value ) )
echo $custom_field_value;
}
}
*代码进入函数。活动子主题(或活动主题)的php文件。测试和工作