Search
Actions / Filters Archives - Page 3 of 3 - WP Global Cart
301
archive,paged,tax-documentation_category,term-actions-filters,term-301,paged-3,theme-awake,eltd-core-1.1,woocommerce-no-js,awake child-child-ver-1.0.0,awake-ver-1.0,eltd-smooth-scroll,eltd-smooth-page-transitions,eltd-mimic-ajax,eltd-grid-1200,eltd-blog-installed,eltd-default-style,eltd-fade-push-text-top,eltd-header-standard,eltd-sticky-header-on-scroll-down-up,eltd-default-mobile-header,eltd-sticky-up-mobile-header,eltd-menu-item-first-level-bg-color,eltd-dropdown-slide-from-top,eltd-,eltd-fullscreen-search eltd-search-fade,eltd-side-menu-slide-from-right,wpb-js-composer js-comp-ver-6.3.0,vc_responsive
 

Archive

WP Global Cart /  (Page 3)

woogc/ps/synchronize_product/completed

Name: woogc/ps/synchronize_product/completed Type: Filter Arguments: $child_product_ID, $main_product_ID, $child_product_blog_ID The filter can be employed to execute additional actions upon the completion of a Product synchronization procedure The provided code example synchronizes the product author as well. This my be helpful for plugins like the Dokan vendors and certain scenarios. By default, this attribute remains unchanged during product synchronization to maintain consistency across authors/vendors in different shops. add_action( 'woogc/ps/synchronize_product/completed', 'woogc_ps_synchronize_product_completed', 10, 3 ); function woogc_ps_synchronize_product_completed( $child_product_ID, $main_product_ID, $child_product_blog_ID ) ...

View More

wogc/admin/manage_shop_order_columns

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

wogc/admin/manage_shop_order_column_data

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

woogc/network_orders/get_orders/mysql_query/SELECT

Name: woogc/network_orders/get_orders/mysql_query/SELECT Type: Filter Arguments: $mysql_query, $blog_id The filter can be used to modify the MySQL query used by the Network Orders interface, that outputs the orders from all shops. The following code example shows only the orders for shop_manager roles, from shops where the user have access : add_filter ( 'woogc/network_orders/get_orders/mysql_query/SELECT', '_custom_network_orders_mysql_query_SELECT', 10, 2 ); function _custom_network_orders_mysql_query_SELECT ( $mysql_query, $blog_id ) { ...

View More

woogc/network_orders/get_orders/mysql_query/JOIN

Name: woogc/network_orders/get_orders/mysql_query/JOIN Type: Filter Arguments: $mysql_query, $blog_id The filter can be used to modify the MySQL query used by the Network Orders interface, which outputs the orders from all shops. The following code example shows only the orders for shop_manager roles, from shops where the user have access : add_filter ( 'woogc/network_orders/get_orders/mysql_query/JOIN', '_custom_network_orders_mysql_query_JOIN', 10, 2 ); function _custom_network_orders_mysql_query_JOIN ( $mysql_query, $blog_id ) { ...

View More

woogc/network_orders/get_orders/mysql_query/WHERE

Name: woogc/network_orders/get_orders/mysql_query/WHERE Type: Filter Arguments: $mysql_query, $blog_id The filter can be used to modify the MySQL query used by the Network Orders interface to output the orders from all shops. The following code example shows only the orders for shop_manager roles, from shops where the user have access : add_filter ( 'woogc/network_orders/get_orders/mysql_query/WHERE', '_custom_network_orders_mysql_query_WHERE_2', 10, 2 ); function _custom_network_orders_mysql_query_WHERE_2 ( $mysql_query, $blog_id ) { ...

View More

woogc/network_orders/get_orders/mysql_query/GROUP_BY

Name: woogc/network_orders/get_orders/mysql_query/GROUP_BY Type: Filter Arguments: $mysql_query, $blog_id The filter can be used to modify the MySQL query used by the Network Orders interface, which outputs the orders from all shops. The following code example shows only the orders for shop_manager roles, from shops where the user have access : add_filter ( 'woogc/network_orders/get_orders/mysql_query/GROUP_BY', '_custom_network_orders_mysql_query_GROUP_BY', 10, 2 ); function _custom_network_orders_mysql_query_GROUP_BY ( $mysql_query, $blog_id ) { ...

View More