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