Yoast\WP\SEO\Helpers
Indexing_Helper::prepare()
Prepares the indexing process by setting several database options and removing the indexing notification.
Метод класса: Indexing_Helper{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$Indexing_Helper = new Indexing_Helper(); $Indexing_Helper->prepare();
Код Indexing_Helper::prepare() Indexing Helper::prepare Yoast 24.7
public function prepare() { $this->set_first_time( false ); $this->set_started( $this->date_helper->current_time() ); $this->remove_indexing_notification(); // Do not set_reason here; if the process is cancelled, the reason to start indexing is still valid. }