WC_Tracks_Footer_Pixel::__construct()

Constructor – attach hooks to the singleton instance.


Description Description


Source Source

File: includes/tracks/class-wc-tracks-footer-pixel.php

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


Top ↑

User Contributed Notes User Contributed Notes

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