Yoast\WP\SEO\Integrations\Watchers
Indexable_Permalink_Watcher::reset_permalink_indexables() public Yoast 1.0
Запрещена (устарела) с версии 15.1. Больше не поддерживается и может быть удалена. Рекомендуется заменить эту функцию на аналог.
Resets the permalinks of the indexables.
{} Это метод класса: Indexable_Permalink_Watcher{}
Хуков нет.
Возвращает
Null. Ничего.
Использование
$Indexable_Permalink_Watcher = new Indexable_Permalink_Watcher(); $Indexable_Permalink_Watcher->reset_permalink_indexables( $type, $subtype, $reason );
- $type(строка) (обязательный)
- The type of the indexable.
- $subtype(null/строка)
- The subtype. Can be null.
По умолчанию: null - $reason(строка)
- The reason that the permalink has been changed.
По умолчанию: Indexing_Reasons::REASON_PERMALINK_SETTINGS
Список изменений
Устарела с | 15.1 |
Код Indexable_Permalink_Watcher::reset_permalink_indexables() Indexable Permalink Watcher::reset permalink indexables Yoast 15.6.2
public function reset_permalink_indexables( $type, $subtype = null, $reason = Indexing_Reasons::REASON_PERMALINK_SETTINGS ) {
\_deprecated_function( __METHOD__, 'WPSEO 15.1', 'Indexable_Helper::reset_permalink_indexables' );
$this->indexable_helper->reset_permalink_indexables( $type, $subtype, $reason );
}