WordPress filter hook

ts_tracker_admin_email

Fired by 13 WordPress plugins, running on 144K+ sites between them.

How to use ts_tracker_admin_email

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:

functions.php
add_filter( 'ts_tracker_admin_email', function( $admin_email ) {
	// Change $admin_email here.
	return $admin_email;
}, 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_admin_email

Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.

  1. Print Invoice & Delivery Notes for WooCommerce icon Print Invoice & Delivery Notes for WooCommerce30,000+ installs apply_filters( 'ts_tracker_admin_email', get_option( 'admin_email' ) ) includes/component/plugin-deactivation/class-tyche-plugin-deactivation.php:311
  2. Payment Gateway Based Fees and Discounts for WooCommerce icon Payment Gateway Based Fees and Discounts for WooCommerce30,000+ installs apply_filters( 'ts_tracker_admin_email', get_option( 'admin_email' ) ) includes/tyche/components/plugin-deactivation/class-plugin-deactivation.php:225
  3. Abandoned Cart Lite for WooCommerce icon Abandoned Cart Lite for WooCommerce20,000+ installs apply_filters( 'ts_tracker_admin_email', get_option( 'admin_email' ) ) includes/component/plugin-deactivation/class-tyche-plugin-deactivation.php:300
  4. Custom Order Numbers for WooCommerce icon Custom Order Numbers for WooCommerce20,000+ installs apply_filters( 'ts_tracker_admin_email', get_option( 'admin_email' ) ) includes/tyche/components/plugin-deactivation/class-tyche-plugin-deactivation.php:227
  5. Custom Order Status for WooCommerce icon Custom Order Status for WooCommerce10,000+ installs apply_filters( 'ts_tracker_admin_email', get_option( 'admin_email' ) ) includes/tyche/components/plugin-deactivation/class-tyche-plugin-deactivation.php:225
  6. Order Delivery Date for WooCommerce icon Order Delivery Date for WooCommerce10,000+ installs apply_filters( 'ts_tracker_admin_email', get_option( 'admin_email' ) ) includes/component/plugin-deactivation/class-tyche-plugin-deactivation.php:312
  7. Call for Price for WooCommerce icon Call for Price for WooCommerce7,000+ installs apply_filters( 'ts_tracker_admin_email', get_option( 'admin_email' ) ) includes/tyche/components/plugin-deactivation/class-plugin-deactivation.php:225
  8. Arconix FAQ icon Arconix FAQ6,000+ installs apply_filters( 'ts_tracker_admin_email', get_option( 'admin_email' ) ) includes/component/deactivate-survey-popup/class-ts-deactivation.php:207
  9. Product Input Fields for WooCommerce icon Product Input Fields for WooCommerce4,000+ installs apply_filters( 'ts_tracker_admin_email', get_option( 'admin_email' ) ) includes/tyche/components/plugin-deactivation/class-tyche-plugin-deactivation.php:227
  10. Arconix Shortcodes icon Arconix Shortcodes3,000+ installs apply_filters( 'ts_tracker_admin_email', get_option( 'admin_email' ) ) includes/component/deactivate-survey-popup/class-ts-deactivation.php:212
  11. Currency per Product for WooCommerce icon Currency per Product for WooCommerce2,000+ installs apply_filters( 'ts_tracker_admin_email', get_option( 'admin_email' ) ) includes/tyche/components/plugin-deactivation/class-tyche-plugin-deactivation.php:225
  12. Product Prices by User Roles for WooCommerce icon Product Prices by User Roles for WooCommerce1,000+ installs apply_filters( 'ts_tracker_admin_email', get_option( 'admin_email' ) ) includes/components/plugin-deactivation/class-plugin-deactivation.php:292
  13. Product Delivery Date for WooCommerce icon Product Delivery Date for WooCommerce1,000+ installs apply_filters( 'ts_tracker_admin_email', get_option( 'admin_email' ) ) includes/component/plugin-deactivation/class-tyche-plugin-deactivation.php:299

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.