Used By
Used By | Description |
---|---|
wp-includes/rest-api/fields/class-wp-rest-meta-fields.php: WP_REST_Meta_Fields::register_field() | Registers the meta field. |
Retrieves the object type for register_rest_field().
(string) The REST field type, such as post type name, taxonomy name, 'comment', or user
.
File: wp-includes/rest-api/fields/class-wp-rest-meta-fields.php
abstract protected function get_rest_field_type();
Version | Description |
---|---|
4.7.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_rest_meta_fields/get_rest_field_type