WordPress filter hook
ts_tracker_opt_out_data
Fired by 13 WordPress plugins, running on 144K+ sites between them.
How to use ts_tracker_opt_out_data
It's a filter: your callback receives the value, and must return the (changed) value.
Add this to your theme's functions.php or a small custom plugin:
add_filter( 'ts_tracker_opt_out_data', function( $params ) {
// Change $params here.
return $params;
}, 10, 1 );Argument names come from Print Invoice & Delivery Notes for WooCommerce's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
13 plugins that fire ts_tracker_opt_out_data
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
Print Invoice & Delivery Notes for WooCommerce30,000+ installs
apply_filters( 'ts_tracker_opt_out_data', $params )includes/component/plugin-tracking/class-tyche-plugin-tracking.php:204 -
Payment Gateway Based Fees and Discounts for WooCommerce30,000+ installs
apply_filters( 'ts_tracker_opt_out_data', $params )includes/tyche/components/plugin-tracking/class-plugin-tracking.php:200 -
Abandoned Cart Lite for WooCommerce20,000+ installs
apply_filters( 'ts_tracker_opt_out_data', $params )includes/component/plugin-tracking/class-tyche-plugin-tracking.php:205 -
Custom Order Numbers for WooCommerce20,000+ installs
apply_filters( 'ts_tracker_opt_out_data', $params )includes/tyche/components/plugin-tracking/class-tyche-plugin-tracking.php:202 -
Custom Order Status for WooCommerce10,000+ installs
apply_filters( 'ts_tracker_opt_out_data', $params )includes/tyche/components/plugin-tracking/class-tyche-plugin-tracking.php:200 -
Order Delivery Date for WooCommerce10,000+ installs
apply_filters( 'ts_tracker_opt_out_data', $params )includes/component/plugin-tracking/class-tyche-plugin-tracking.php:200 -
Call for Price for WooCommerce7,000+ installs
apply_filters( 'ts_tracker_opt_out_data', $params )includes/tyche/components/plugin-tracking/class-plugin-tracking.php:200 -
Arconix FAQ6,000+ installs
apply_filters( 'ts_tracker_opt_out_data', $params )includes/component/tracking-data/class-ts-tracker.php:83 -
Product Input Fields for WooCommerce4,000+ installs
apply_filters( 'ts_tracker_opt_out_data', $params )includes/tyche/components/plugin-tracking/class-tyche-plugin-tracking.php:200 -
Arconix Shortcodes3,000+ installs
apply_filters( 'ts_tracker_opt_out_data', $params )includes/component/tracking-data/class-ts-tracker.php:83 -
Currency per Product for WooCommerce2,000+ installs
apply_filters( 'ts_tracker_opt_out_data', $params )includes/tyche/components/plugin-tracking/class-tyche-plugin-tracking.php:197 -
Product Prices by User Roles for WooCommerce1,000+ installs
apply_filters( 'ts_tracker_opt_out_data', $params )includes/components/plugin-tracking/class-plugin-tracking.php:203 -
Product Delivery Date for WooCommerce1,000+ installs
apply_filters( 'ts_tracker_opt_out_data', $params )includes/component/plugin-tracking/class-tyche-plugin-tracking.php:202
Need a customisation built on this hook?
Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.