WC_Theme_Tracking
in package
This class adds actions to track usage of themes on a WooCommerce store.
Table of Contents
- init() : mixed
- Init tracking.
- track_activated_theme() : mixed
- Send a Tracks event when a theme is activated so that we can track active block themes.
- track_initial_theme() : mixed
- Tracks the sites current theme the first time this code is run, and will only be run once.
Methods
init()
Init tracking.
public
init() : mixed
Return values
mixed —track_activated_theme()
Send a Tracks event when a theme is activated so that we can track active block themes.
public
track_activated_theme() : mixed
Return values
mixed —track_initial_theme()
Tracks the sites current theme the first time this code is run, and will only be run once.
public
track_initial_theme() : mixed