Skip to content
Snippets Groups Projects

feat: initialize usage tracker

Merged Bartek Jaskulski requested to merge initialize-tracker into master
3 files
+ 10
0
Compare changes
  • Side-by-side
  • Inline

Files

@@ -52,6 +52,9 @@ class SimpleFreeStrategy implements InitializationStrategy {
@@ -52,6 +52,9 @@ class SimpleFreeStrategy implements InitializationStrategy {
$this->store_plugin( $this->plugin );
$this->store_plugin( $this->plugin );
$this->init_plugin( $this->plugin );
$this->init_plugin( $this->plugin );
 
// Flush usage tracker late, to remain backward compatible with plugins which could instantiate
 
// the tracker on their own through `wpdesk_tracker_instance` filter.
 
$this->get_tracker_instance();
return $this->plugin;
return $this->plugin;
}
}
Loading