This is simply a list of other filter hooks included in the WooCommerce Catalog Mode - Pricing, Enquiry Forms & Promotions files. This list also includes the supported parameters and example codes.
wmodes-admin/get-product-tabs
- Parameters:
- $product_tabs array()
- $args array()
Example Codes:
function custom_get_product_tabs( $product_tabs, $args ) { //add your custom code here return $product_tabs; } add_filter( 'wmodes-admin/get-product-tabs', 'custom_get_product_tabs', 10, 2 );
wmodes-admin/product-options/get-shop-loop-types
- Parameters:
- $shop_loop_types array()
- $args array()
Example Codes:
function custom_get_shop_loop_types( $shop_loop_types, $args ) { //add your custom code here return $shop_loop_types; } add_filter( 'wmodes-admin/product-options/get-shop-loop-types', 'custom_get_shop_loop_types', 10, 2 );
wmodes/validate-pipeline-shop-loop
- Parameters:
- $is_valid bool
- $current_loop string
- $shop_loop_args array()
Example Codes:
function custom_validate_pipeline_shop_loop( $is_valid, $current_loop, $shop_loop_args ) { //add your custom code here return true; // returns true or false } add_filter( 'wmodes/validate-pipeline-shop-loop', 'custom_validate_pipeline_shop_loop', 10, 3 );
wmodes/get-in-summary
- Parameters:
- $in_summary bool
Example Codes:
function custom_get_in_summary( $in_summary ) { //add your custom code here return true; // returns true or false } add_filter( 'wmodes/get-in-summary', 'custom_get_in_summary', 10, 1 );
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article