//商品管理信息列
function store_columns( $columns ) {
    $columns['ruike_goods_price'] = '价格';
    unset( $columns['comments'] );
    return $columns;
}
add_filter( 'manage_edit-store_columns', 'store_columns' );

function populate_columns( $column ) {
    if ( 'product_ID' == $column ) {
        $product_ID = esc_html( get_the_ID() );
        echo $product_ID;
    }
    elseif ( $column =='ruike_goods_price' ) {
		$product_ID=esc_html( get_the_ID() );
        $goods_price=get_post_meta($product_ID, 'ruike_goods_price', true ) ? get_post_meta($product_ID, 'ruike_goods_price', true ): '0.00';
        echo $goods_price;
    }
}
add_action( 'manage_posts_custom_column', 'populate_columns' );

当然您要添加更多的要学会举一反三哟,好今天的WordPress教程就写到这里了。