woocommerce_tracker_event_recurrence filter-hookWC 2.3.0

How frequent to schedule the tracker send event.

Usage

add_filter( 'woocommerce_tracker_event_recurrence', 'wp_kama_woocommerce_tracker_event_recurrence_filter' );

/**
 * Function for `woocommerce_tracker_event_recurrence` filter-hook.
 * 
 * @param  $string 
 *
 * @return 
 */
function wp_kama_woocommerce_tracker_event_recurrence_filter( $string ){

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

Changelog

Since 2.3.0 Introduced.

Where the hook is called

WC_Install::create_cron_jobs()
woocommerce_tracker_event_recurrence
woocommerce/includes/class-wc-install.php 780
wp_schedule_event( time() + 10, apply_filters( 'woocommerce_tracker_event_recurrence', 'daily' ), 'woocommerce_tracker_send_event' );

Where the hook is used in WooCommerce

Usage not found.