Yoast\WP\SEO\Integrations\Third_Party
W3_Total_Cache::register_hooks() public Yoast 1.0
Initializes the integration.
On successful update/add of the taxonomy meta option, flush the W3TC cache.
{} Это метод класса: W3_Total_Cache{}
Хуков нет.
Возвращает
null.
Использование
$W3_Total_Cache = new W3_Total_Cache(); $W3_Total_Cache->register_hooks();
Код W3_Total_Cache::register_hooks() W3 Total Cache::register hooks Yoast 15.6.2
public function register_hooks() {
\add_action( 'add_option_wpseo_taxonomy_meta', 'w3tc_objectcache_flush' );
\add_action( 'update_option_wpseo_taxonomy_meta', 'w3tc_objectcache_flush' );
}