is_store_notice_showing()WC 1.0

Is_store_notice_showing - Returns true when store notice is active.

No Hooks.

Return

true|false.

Usage

is_store_notice_showing();

is_store_notice_showing() code WC 8.6.1

function is_store_notice_showing() {
	return 'no' !== get_option( 'woocommerce_demo_store', 'no' );
}