WordPress filter hook
ts_tracker_last_send_interval
Fired by 13 WordPress plugins, running on 144K+ sites between them.
How to use ts_tracker_last_send_interval
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_last_send_interval', function( $strtotime ) {
// Change $strtotime here.
return $strtotime;
}, 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_last_send_interval
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_last_send_interval', strtotime( '-1 week' ) )includes/component/plugin-tracking/class-tyche-plugin-tracking.php:177 -
Payment Gateway Based Fees and Discounts for WooCommerce30,000+ installs
apply_filters( 'ts_tracker_last_send_interval', strtotime( '-1 week' ) )includes/tyche/components/plugin-tracking/class-plugin-tracking.php:173 -
Abandoned Cart Lite for WooCommerce20,000+ installs
apply_filters( 'ts_tracker_last_send_interval', strtotime( '-1 week' ) )includes/component/plugin-tracking/class-tyche-plugin-tracking.php:177 -
Custom Order Numbers for WooCommerce20,000+ installs
apply_filters( 'ts_tracker_last_send_interval', strtotime( '-1 week' ) )includes/tyche/components/plugin-tracking/class-tyche-plugin-tracking.php:175 -
Custom Order Status for WooCommerce10,000+ installs
apply_filters( 'ts_tracker_last_send_interval', strtotime( '-1 week' ) )includes/tyche/components/plugin-tracking/class-tyche-plugin-tracking.php:173 -
Order Delivery Date for WooCommerce10,000+ installs
apply_filters( 'ts_tracker_last_send_interval', strtotime( '-1 week' ) )includes/component/plugin-tracking/class-tyche-plugin-tracking.php:173 -
Call for Price for WooCommerce7,000+ installs
apply_filters( 'ts_tracker_last_send_interval', strtotime( '-1 week' ) )includes/tyche/components/plugin-tracking/class-plugin-tracking.php:173 -
Arconix FAQ6,000+ installs
apply_filters( 'ts_tracker_last_send_interval', strtotime( '-1 week' ) )includes/component/tracking-data/class-ts-tracker.php:58 -
Product Input Fields for WooCommerce4,000+ installs
apply_filters( 'ts_tracker_last_send_interval', strtotime( '-1 week' ) )includes/tyche/components/plugin-tracking/class-tyche-plugin-tracking.php:173 -
Arconix Shortcodes3,000+ installs
apply_filters( 'ts_tracker_last_send_interval', strtotime( '-1 week' ) )includes/component/tracking-data/class-ts-tracker.php:58 -
Currency per Product for WooCommerce2,000+ installs
apply_filters( 'ts_tracker_last_send_interval', strtotime( '-1 week' ) )includes/tyche/components/plugin-tracking/class-tyche-plugin-tracking.php:170 -
Product Prices by User Roles for WooCommerce1,000+ installs
apply_filters( 'ts_tracker_last_send_interval', strtotime( '-1 week' ) )includes/components/plugin-tracking/class-plugin-tracking.php:178 -
Product Delivery Date for WooCommerce1,000+ installs
apply_filters( 'ts_tracker_last_send_interval', strtotime( '-1 week' ) )includes/component/plugin-tracking/class-tyche-plugin-tracking.php:175
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.