Automattic\WooCommerce\Internal\LegacyAssets

LegacySelect2UsageTracker::handle_wp_print_footer_scripts │ public │ WC 1.0

Handle the wp_print_footer_scripts hook.

Method of the class: LegacySelect2UsageTracker{}

No Hooks.

Returns

void. Nothing (null).

Usage

$LegacySelect2UsageTracker = new LegacySelect2UsageTracker();
$LegacySelect2UsageTracker->handle_wp_print_footer_scripts(): void;

LegacySelect2UsageTracker::handle_wp_print_footer_scripts() code WC 11.1.2

public function handle_wp_print_footer_scripts(): void {
	if ( ! $this->is_frontend_tracking_available() ) {
		return;
	}

	$this->track_usage( self::CONTEXT_FRONTEND );
}