Yoast\WP\SEO\Integrations\Watchers
Indexable_HomeUrl_Watcher::register_hooks() public Yoast 1.0
Initializes the integration.
This is the place to register hooks and filters.
{} Это метод класса: Indexable_HomeUrl_Watcher{}
Хуков нет.
Возвращает
null.
Использование
$Indexable_HomeUrl_Watcher = new Indexable_HomeUrl_Watcher(); $Indexable_HomeUrl_Watcher->register_hooks();
Код Indexable_HomeUrl_Watcher::register_hooks() Indexable HomeUrl Watcher::register hooks Yoast 15.6.2
public function register_hooks() {
\add_action( 'update_option_home', [ $this, 'reset_permalinks' ] );
\add_action( 'wpseo_permalink_structure_check', [ $this, 'force_reset_permalinks' ] );
}