Yoast\WP\SEO\Actions\Importing\Aioseo

Aioseo_Validate_Data_Action::get_limited_unindexed_count()publicYoast 1.0

Just checks if the action has been completed in the past.

{} Это метод класса: Aioseo_Validate_Data_Action{}

Хуков нет.

Возвращает

int. 1 if it hasn't been completed in the past, 0 if it has.

Использование

$Aioseo_Validate_Data_Action = new Aioseo_Validate_Data_Action();
$Aioseo_Validate_Data_Action->get_limited_unindexed_count( $limit );
$limit(int) (обязательный)
The maximum number of unimported objects to be returned. Not used, exists to comply with the interface.

Код Aioseo_Validate_Data_Action::get_limited_unindexed_count() Yoast 19.2

public function get_limited_unindexed_count( $limit ) {
	return ( ! $this->get_completed() ) ? 1 : 0;
}