Views & Locations - Filter Hook References
This is simply a list of view and location-related filter hooks included in the WooCommerce Catalog Mode - Pricing, Enquiry Forms & Promotions files. This list also includes the supported parameters and example codes.
wmodes/register-view-locations
- Parameters:
- $view_locations array()
Example Codes:
- function custom_register_view_locations( $view_locations ) {
- //add your custom code here
- return $view_locations;
- }
- add_filter( 'wmodes/register-view-locations', 'custom_register_view_locations', 10, 1 );
wmodes/register-view-paths
- Parameters:
- $view_paths array()
Example Codes:
- function custom_register_view_paths( $view_paths ) {
- //add your custom code here
- return $view_paths;
- }
- add_filter( 'wmodes/register-view-paths', 'custom_register_view_paths', 10, 1 );
wmodes/compose-css
- Parameters:
- $css array()
- $options array()
Example Codes:
- function custom_compose_css( $css, $options ) {
- //add your custom code here
- return $css;
- }
- add_filter( 'wmodes/compose-css', 'custom_compose_css', 10, 2 );
Related Articles
Conditions - Filter Hook References
This is simply a list of condition-related 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-condition-groups ...
Others - Filter Hook References
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 Rules - Filter Hook References
This is simply a list of product rule-related filter hooks included in the WooCommerce Catalog Mode - Pricing, Enquiry Forms & Promotions files. This list also includes the supported parameters and example codes. ...
Cart Data - Filter Hook References
This is simply a list of cart data-related filter hooks included in the WooCommerce Catalog Mode - Pricing, Enquiry Forms & Promotions files. This list also includes the supported parameters and example codes. wmodes/get-cart-item Parameters: ...
Product Data - Filter Hook References
This is simply a list of product data-related filter hooks included in the WooCommerce Catalog Mode - Pricing, Enquiry Forms & Promotions files. This list also includes the supported parameters and example codes. wmodes/get-product-properties ...