Yoast\WP\SEO\Helpers
Indexing_Helper::set_first_time
Sets a boolean that indicates whether or not a site still has to be indexed for the first time.
Метод класса: Indexing_Helper{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Indexing_Helper = new Indexing_Helper(); $Indexing_Helper->set_first_time( $is_first_time_indexing );
- $is_first_time_indexing(true|false) (обязательный)
- Whether or not a site still has to be indexed for the first time.
Код Indexing_Helper::set_first_time() Indexing Helper::set first time Yoast 27.7
public function set_first_time( $is_first_time_indexing ) {
$this->options_helper->set( 'indexing_first_time', $is_first_time_indexing );
}