Yoast\WP\SEO\Helpers

Indexing_Helper::set_first_time()publicYoast 1.0

Sets a boolean that indicates whether or not a site still has to be indexed for the first time.

{} Это метод класса: Indexing_Helper{}

Хуков нет.

Возвращает

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() Yoast 19.2

public function set_first_time( $is_first_time_indexing ) {
	$this->options_helper->set( 'indexing_first_time', $is_first_time_indexing );
}