is_store_notice_showing()
Is_store_notice_showing - Returns true when store notice is active.
Хуков нет.
Возвращает
bool.
Использование
is_store_notice_showing();
Код is_store_notice_showing() is store notice showing WC 11.2.2
function is_store_notice_showing() {
return 'no' !== get_option( 'woocommerce_demo_store', 'no' );
}