Yoast\WP\SEO\Actions\Importing\Aioseo
Aioseo_Cleanup_Action::get_total_unindexed()
Just checks if the cleanup has been completed in the past.
Метод класса: Aioseo_Cleanup_Action{}
Хуков нет.
Возвращает
int
. The total number of unimported objects.
Использование
$Aioseo_Cleanup_Action = new Aioseo_Cleanup_Action(); $Aioseo_Cleanup_Action->get_total_unindexed();
Код Aioseo_Cleanup_Action::get_total_unindexed() Aioseo Cleanup Action::get total unindexed Yoast 22.4
public function get_total_unindexed() { if ( ! $this->aioseo_helper->aioseo_exists() ) { return 0; } return ( ! $this->get_completed() ) ? 1 : 0; }