WC_Tracks_Footer_Pixel::__construct()publicWC 1.0

Constructor - attach hooks to the singleton instance.

{} Это метод класса: WC_Tracks_Footer_Pixel{}

Хуков нет.

Возвращает

null. Ничего.

Использование

$WC_Tracks_Footer_Pixel = new WC_Tracks_Footer_Pixel();
$WC_Tracks_Footer_Pixel->__construct();

Код WC_Tracks_Footer_Pixel::__construct() WC 6.9.4

public function __construct() {
	add_action( 'admin_footer', array( $this, 'render_tracking_pixels' ) );
	add_action( 'shutdown', array( $this, 'send_tracks_requests' ) );
}