Yoast\WP\SEO\Helpers
Indexing_Helper::set_reason
Sets the indexing reason.
Метод класса: Indexing_Helper{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Indexing_Helper = new Indexing_Helper(); $Indexing_Helper->set_reason( $reason );
- $reason(строка) (обязательный)
- The indexing reason.
Код Indexing_Helper::set_reason() Indexing Helper::set reason Yoast 26.9
public function set_reason( $reason ) {
$this->options_helper->set( 'indexing_reason', $reason );
$this->remove_indexing_notification();
}