Automattic\WooCommerce\Internal\StockNotifications

Config::allows_signupspublic staticWC 1.0

Check if signups are allowed.

Method of the class: Config{}

No Hooks.

Returns

true|false.

Usage

$result = Config::allows_signups(): bool;

Config::allows_signups() code WC 10.3.6

public static function allows_signups(): bool {
	return 'yes' === get_option( 'woocommerce_customer_stock_notifications_allow_signups', 'no' );
}