Yoast\WP\SEO\Bulk_Editor\Domain\Updates

Batch_Limit::is_within_limit │ public static │ Yoast 1.0

Whether the given number of updates is within the batch limit.

Метод класса: Batch_Limit{}

Хуков нет.

Возвращает

bool. Whether the given number of updates is within the batch limit.

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

$result = Batch_Limit::is_within_limit( $count ): bool;
$count(int) (обязательный)
The number of updates in the batch.

Код Batch_Limit::is_within_limit() Yoast 28.9

public static function is_within_limit( int $count ): bool {
	return $count <= self::MAX_ITEMS;
}