Name: wogc/admin/manage_shop_order_column_data
Type: Action
Arguments: $post, $column_name
The filter can be used to render data for a custom created column on SuperAdmin Orders interface.
The following example render html for column called Products
add_action('wogc/admin/manage_shop_order_column_data', 'custom_wogc_admin_manage_shop_order_column_data', 10, 2);
function custom_wogc_admin_manage_shop_order_column_data( $post, $column_name )
{
if ( $column_name != 'products')
...
View More
Name: wogc/admin/manage_shop_order_columns
Type: Filter
Arguments: $columns
The filter can be used to add new column on SuperAdmin Orders interface. To render code for a custom column see wogc/admin/manage_shop_order_column_data
The following example add a new column called Products
add_filter('wogc/admin/manage_shop_order_columns', 'custom_wogc_admin_manage_shop_order_columns');
function custom_wogc_admin_manage_shop_order_columns( $columns )
{
$columns['products'] =...
View More
Update: The recent WordPress and WooCommerce changes deprecated the current article code example, and thus will not be maintained anymore.
Under WordPress MultiSite environment, WooCommerce can run on any site. In a sense, that means the WooCommerce is apparently MultiSite capable and compatible. In practice, there's no real MultiSite capability as no data is interconnected from a shop to another, every instance is self-running, with no possibility to interact with the other sites in the network.
WordPress WooGlobalCart brings in a...
View More