WC_Tracks_Footer_Pixel::__construct
Constructor - attach hooks to the singleton instance.
Method of the class: WC_Tracks_Footer_Pixel{}
No Hooks.
Returns
null
. Nothing (null).
Usage
$WC_Tracks_Footer_Pixel = new WC_Tracks_Footer_Pixel(); $WC_Tracks_Footer_Pixel->__construct();
WC_Tracks_Footer_Pixel::__construct() WC Tracks Footer Pixel:: construct code WC 9.9.4
public function __construct() { add_action( 'admin_footer', array( $this, 'render_tracking_pixels' ) ); add_action( 'shutdown', array( $this, 'send_tracks_requests' ) ); }