Yoast\WP\SEO\Actions\Indexing
Indexing_Complete_Action{} Yoast 1.0
Indexing action to call when the indexing is completed.
Хуков нет.
Возвращает
null
. Null. Ничего.
Использование
$Indexing_Complete_Action = new Indexing_Complete_Action(); // use class methods
Методы
Код Indexing_Complete_Action{} Indexing Complete Action{} Yoast 16.1.1
class Indexing_Complete_Action {
/**
* The indexing helper.
*
* @var Indexing_Helper
*/
protected $indexing_helper;
/**
* Indexing_Complete_Action constructor.
*
* @param Indexing_Helper $indexing_helper The indexing helper.
*/
public function __construct( Indexing_Helper $indexing_helper ) {
$this->indexing_helper = $indexing_helper;
}
/**
* Wraps up the indexing process.
*
* @return void
*/
public function complete() {
$this->indexing_helper->finish();
}
}