Others - Filter Hook References
This is simply a list of other filter hooks found within the WooCommerce Table Rate Shipping files. This list also includes the supported parameters and example codes.
wtars_shipped_admin/get-settings-section-fields
- Parameters:
- $in_fields array()
- $args array()
Example Codes:
- function custom_get_settings_section_fields( $in_fields, $args ) {
- //add your custom code here
- return $in_fields;
- }
- add_filter( 'wtars_shipped_admin/get-settings-section-fields', 'custom_get_settings_section_fields', 10, 2 );
wtars_shipped_admin/get-other-shipping-rates
- Parameters:
- $shipping_rates array()
- $args array()
Example Codes:
- function custom_get_other_shipping_rates( $shipping_rates, $args ) {
- //add your custom code here
- return $shipping_rates;
- }
- add_filter( 'wtars_shipped_admin/get-other-shipping-rates', 'custom_get_other_shipping_rates', 10, 2 );
wtars_shipped/get-other-shipping-rate-ids
- Parameters:
- $instance_ids array()
- $rates array()
Example Codes:
- function custom_get_other_shipping_rate_ids( $instance_ids, $rates ) {
- //add your custom code here
- return $instance_ids;
- }
- add_filter( 'wtars_shipped/get-other-shipping-rate-ids', 'custom_get_other_shipping_rate_ids', 10, 2 );
wtars_shipped/get-hash
- Parameters:
- $hash array()
- $hash_params array()
Example Codes:
- function custom_get_hash( $hash, $hash_params ) {
- //add your custom code here
- return $hash;
- }
- add_filter( 'wtars_shipped/get-hash', 'custom_get_hash', 10, 2 );
wtars_shipped/get-update-triggers
- Parameters:
- $cart_triggers array()
Example Codes:
- function custom_get_update_triggers( $cart_triggers ) {
- //add your custom code here
- return $cart_triggers;
- }
- add_filter( 'wtars_shipped/get-update-triggers', 'custom_get_update_triggers', 10 );
Related Articles
Shipping Costs / Shipping Fees - Filter Hook References
This is simply a list of shipping costs/fees related filter hooks found within the WooCommerce Table Rate Shipping files. This list also includes the supported parameters and example codes. wtars_shipped_admin/get-cost-type-groups Parameters: ...
Shipping Rates - Filter Hook References
This is simply a list of shipping rates-related filter hooks found within the WooCommerce Table Rate Shipping files. This list also includes the supported parameters and example codes. wtars_shipped/rate-cost Parameters: $rate_cost array() $rate_id ...
Conditions - Filter Hook References
This is simply a list of conditions related filter hooks found within the WooCommerce Table Rate Shipping files. This list also includes the supported parameters and example codes. wtars_shipped_admin/get-condition-groups Parameters: $group_types ...
Product Rules - Filter Hook References
This is simply a list of product rules related filter hooks found within the WooCommerce Table Rate Shipping files. This list also includes the supported parameters and example codes. wtars_shipped_admin/get-product-filter-groups Parameters: ...
Handling Fees - Filter Hook References
This is simply a list of handling fee-related filter hooks found within the WooCommerce Table Rate Shipping files. This list also includes the supported parameters and example codes. wtars_shipped/fee-cost Parameters: $rate_metas array() $rate_id ...