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