woocommerce_tracker_send_override

woocommerce_tracker_send_override

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_tracker_send_override') is found 1 times:

  • /includes/class-wc-tracker.php line 60
    		 * Filter whether to send tracking data or not.
    		 *
    		 * @since 2.3.0
    		 */
    		if ( ! apply_filters( 'woocommerce_tracker_send_override', $override ) ) {
    			// Send a maximum of once per week by default.
    			$last_send = self::get_last_send_time();
    			if ( $last_send && $last_send > apply_filters( 'woocommerce_tracker_last_send_interval', strtotime( '-1 week' ) ) ) { // phpcs:ignore
    				return;
    			}
    		} else {