WC_Tracks_Client::init()

Initialize tracks client class


Description Description


Return Return

(void)


Top ↑

Source Source

File: includes/tracks/class-wc-tracks-client.php

	public static function init() {
		// Use wp hook for setting the identity cookie to avoid headers already sent warnings.
		add_action( 'admin_init', array( __CLASS__, 'maybe_set_identity_cookie' ) );
	}

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.