Automattic\WooCommerce\Internal\ComingSoon
ComingSoonCacheInvalidator::init()
Sets up the hooks.
Метод класса: ComingSoonCacheInvalidator{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$ComingSoonCacheInvalidator = new ComingSoonCacheInvalidator(); $ComingSoonCacheInvalidator->init();
Код ComingSoonCacheInvalidator::init() ComingSoonCacheInvalidator::init WC 9.7.1
final public function init() { add_action( 'update_option_woocommerce_coming_soon', array( $this, 'invalidate_caches' ) ); add_action( 'update_option_woocommerce_store_pages_only', array( $this, 'invalidate_caches' ) ); }