Yoast\WP\SEO\Integrations\Watchers
Indexable_HomeUrl_Watcher::should_reset_permalinks() public Yoast 1.0
Checks whether permalinks should be reset.
{} Это метод класса: Indexable_HomeUrl_Watcher{}
Хуков нет.
Возвращает
true/false. Whether the permalinks should be reset.
Использование
$Indexable_HomeUrl_Watcher = new Indexable_HomeUrl_Watcher(); $Indexable_HomeUrl_Watcher->should_reset_permalinks();
Код Indexable_HomeUrl_Watcher::should_reset_permalinks() Indexable HomeUrl Watcher::should reset permalinks Yoast 15.7
public function should_reset_permalinks() {
return \get_home_url() !== $this->options_helper->get( 'home_url' );
}