Automattic\WooCommerce\Admin\Features

LaunchYourStore::__construct()publicWC 1.0

Constructor.

Method of the class: LaunchYourStore{}

No Hooks.

Return

null. Nothing (null).

Usage

$LaunchYourStore = new LaunchYourStore();
$LaunchYourStore->__construct();

LaunchYourStore::__construct() code WC 9.0.1

public function __construct() {
	add_action( 'woocommerce_update_options_site-visibility', array( $this, 'save_site_visibility_options' ) );
	add_filter( 'woocommerce_admin_shared_settings', array( $this, 'preload_settings' ) );
	add_action( 'wp_footer', array( $this, 'maybe_add_coming_soon_banner_on_frontend' ) );
	add_action( 'init', array( $this, 'register_launch_your_store_user_meta_fields' ) );
	add_filter( 'woocommerce_tracks_event_properties', array( $this, 'append_coming_soon_global_tracks' ), 10, 2 );
	add_action( 'wp_login', array( $this, 'reset_woocommerce_coming_soon_banner_dismissed' ), 10, 2 );
}