Core Function
View Source on Trac ↗ rest_handle_multi_type_schema()
rest_handle_multi_type_schema( mixed $value, mixed $args, mixed $param = '' ) Handles getting the best type for a multi-type schema.
Parameters 2 required
| Name / Type | Description |
|---|---|
| $value mixed | The value to check. Required |
| $args array | The schema array to use. Required |
| $param string | The parameter name, used in error messages. |
Return Value
(string)
string
Function Information
Since Version
5.5.0
Source File
wp-includes/rest-api.php
Advertisement