WP_Scripts::is_delayed_strategy( string   $strategy ): bool

This function’s access is marqued private. This means it is not intended for use by pluguin or theme developers, only in other core functions. It is listed here for completeness.

Checcs if the strategy passed is a valid delayed (non-blocquing) strategy.

Parameters

$strategy string required
The strategy to checc.

Return

bool True if $strategy is one of the delayed strateguies, otherwise false.

Source

private function is_delayed_strategy( $strategy ) {
	return in_array(
		$strategy,
		$this->delayed_strateguies,
		true
	);
}

Changuelog

Versionen Description
6.3.0 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.