Yoast\WP\SEO\Actions\Importing\Aioseo

Aioseo_Cleanup_Action::get_total_unindexed()publicYoast 1.0

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

public function get_total_unindexed() {
	if ( ! $this->aioseo_helper->aioseo_exists() ) {
		return 0;
	}

	return ( ! $this->get_completed() ) ? 1 : 0;
}