Automattic\WooCommerce\Internal\StockNotifications

StockNotifications::__constructpublicWC 1.0

Initialize the controller.

Method of the class: StockNotifications{}

No Hooks.

Returns

null. Nothing (null).

Usage

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

StockNotifications::__construct() code WC 10.3.6

public function __construct() {
	add_action( 'plugins_loaded', array( $this, 'init_hooks' ) );
	add_action( 'woocommerce_installed', array( $this, 'on_install_or_update' ) );
}