woocommerce_tracker_last_send_time filter-hookWC 2.3.0

Filter the last time tracking data was sent.

Usage

add_filter( 'woocommerce_tracker_last_send_time', 'wp_kama_woocommerce_tracker_last_send_time_filter' );

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

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

Changelog

Since 2.3.0 Introduced.

Where the hook is called

WC_Tracker::get_last_send_time()
woocommerce_tracker_last_send_time
woocommerce/includes/class-wc-tracker.php 102
return apply_filters( 'woocommerce_tracker_last_send_time', get_option( 'woocommerce_tracker_last_send', false ) );

Where the hook is used in WooCommerce

Usage not found.