Automattic\WooCommerce\Internal\CLI\Migrator\Core
MigratorTracker::clear_data
Clear all stored analytics data. Useful for development/testing or user privacy requests.
Method of the class: MigratorTracker{}
No Hooks.
Returns
null. Nothing (null).
Usage
$MigratorTracker = new MigratorTracker(); $MigratorTracker->clear_data(): void;
MigratorTracker::clear_data() MigratorTracker::clear data code WC 10.7.0
public function clear_data(): void {
delete_option( self::OPTION_NAME );
$this->current_session = array();
}