rest_handle_multi_type_schema
rest_handle_multi_type_schema ( $value, $args, $param = '' )
Parameters:- (mixed) value The value to check.
- (array) args The schema array to use.
- (string) param The parameter name, used in error messages.
Returns:Defined at: - Introduced in WordPress: 5.5.0
- Deprecated in WordPress: —
Description
Handles getting the best type for a multi-type schema.This is a wrapper for {@see} that handles
backward compatibility for schemas that use invalid types.