woocommerce_tracker_admin_email filter-hookWC 2.3.0

Filter the admin email that's sent with data.

Usage

add_filter( 'woocommerce_tracker_admin_email', 'wp_kama_woocommerce_tracker_admin_email_filter' );

/**
 * Function for `woocommerce_tracker_admin_email` filter-hook.
 * 
 * @param  $option 
 *
 * @return 
 */
function wp_kama_woocommerce_tracker_admin_email_filter( $option ){

	// filter...
	return $option;
}
$option
-

Changelog

Since 2.3.0 Introduced.

Where the hook is called

WC_Tracker::get_tracking_data()
woocommerce_tracker_admin_email
woocommerce/includes/class-wc-tracker.php 147
$data['email'] = apply_filters( 'woocommerce_tracker_admin_email', get_option( 'admin_email' ) );

Where the hook is used in WooCommerce

Usage not found.