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