WC_Tracks_Footer_Pixel::clear_events │ public static │ WC 1.0

Clear all queued events.

Method of the class: WC_Tracks_Footer_Pixel{}

No Hooks.

Returns

null. Nothing (null).

Usage

$result = WC_Tracks_Footer_Pixel::clear_events();

WC_Tracks_Footer_Pixel::clear_events() code WC 11.1.2

public static function clear_events() {
	self::instance()->events = array();
}