Summery Summery
Retrieves the object’s meta schema, conforming to JSON Schema.
Syntax Syntax
Return Return
(array) Field schema data.
Source Source
File: wp-includes/rest-api/fields/class-wp-rest-meta-fields.php
if ( empty( $rest_args['single'] ) ) { $rest_args['schema'] = array( 'type' => 'array', 'items' => $rest_args['schema'], ); } $registered[ $name ] = $rest_args; } return $registered; } /** * Retrieves the object's meta schema, conforming to JSON Schema. * * @since 4.7.0 * * @return array Field schema data.
Advertisement
Changelog Changelog
Version | Description |
---|---|
4.7.0 | Introduced. |