Message Parameters - Filter Hook References
This is simply a list of message parameters 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-parameter-type-groups
- Parameters:
- $group_types array()
- $args array()
Example Codes:
- function custom_get_parameter_type_groups( $group_types, $args ) {
- //add your custom code here
- return $group_types;
- }
- add_filter( 'wtars_shipped_admin/get-parameter-type-groups', 'custom_get_parameter_type_groups', 10, 2 );
wtars_shipped_admin/get-parameter-group-types-{group_type_id}
- Parameters:
- $parameter_types array()
- $args array()
Example Codes:
- function custom_get_parameter_group_types_group_type_id( $parameter_types, $args ) {
- //add your custom code here
- return $parameter_types;
- }
- add_filter( 'wtars_shipped_admin/get-parameter-group-types-group_type_id', 'custom_get_parameter_group_types_group_type_id', 10, 2 );
wtars_shipped/message-text
- Parameters:
- $message array()
- $message_id array()
- $notification_type array()
- $instance_id array()
Example Codes:
- function custom_message_text( $message, $message_id, $notification_type, $instance_id ) {
- //add your custom code here
- return $message;
- }
- add_filter( 'wtars_shipped/message-text', 'custom_message_text', 10, 4 );
wtars_shipped/parameter-value
- Parameters:
- $parameter_value array()
- $parameter_id array()
- $parameter_type array()
- $instance_id array()
Example Codes:
- function custom_parameter_value( $parameter_value, $parameter_id, $parameter_type, $instance_id ) {
- //add your custom code here
- return $parameter_value;
- }
- add_filter( 'wtars_shipped/parameter-value', 'custom_parameter_value', 10, 4 );
wtars_shipped/parameter-currency-value
- Parameters:
- $parameter_value array()
- $parameter_id array()
- $parameter_type array()
- $instance_id array()
Example Codes:
- function custom_parameter_currency_value( $parameter_value, $parameter_id, $parameter_type, $instance_id ) {
- //add your custom code here
- return $parameter_value;
- }
- add_filter( 'wtars_shipped/parameter-currency-value', 'custom_parameter_currency_value', 10, 4 );
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 ...
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() ...
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: ...