Checks if the provided fetchpriority is valid.
Parameters
$prioritystring|mixedrequired- Fetch priority.
Source
private function is_valid_fetchpriority( $priority ): bool {
return in_array( $priority, $this->priorities, true );
}
Changelog
| Version | Description |
|---|---|
| 6.9.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.