WP_REST_Post_Meta_Fields
Core class used to manage meta values for posts via the REST API.
Description
See also
Source
File: wp-includes/rest-api/fields/class-wp-rest-post-meta-fields.php
Methods
- __construct — Constructor.
- get_meta_subtype — Retrieves the post meta subtype.
- get_meta_type — Retrieves the post meta type.
- get_rest_field_type — Retrieves the type for register_rest_field().
Changelog
Version | Description |
---|---|
4.7.0 | Introduced. |