Yoast\WP\SEO\Actions\Importing\Aioseo

Aioseo_Validate_Data_Action::get_limit()publicYoast 1.0

Used nowhere. Exists to comply with the interface.

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

Хуки из метода

Возвращает

int. The limit.

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

$Aioseo_Validate_Data_Action = new Aioseo_Validate_Data_Action();
$Aioseo_Validate_Data_Action->get_limit();

Код Aioseo_Validate_Data_Action::get_limit() Yoast 19.2

public function get_limit() {
	/**
	 * Filter 'wpseo_aioseo_cleanup_limit' - Allow filtering the number of validations during each action pass.
	 *
	 * @api int The maximum number of validations.
	 */
	$limit = \apply_filters( 'wpseo_aioseo_validation_limit', 25 );

	if ( ! \is_int( $limit ) || $limit < 1 ) {
		$limit = 25;
	}

	return $limit;
}