Summery Summery
Retrieves the object type for register_rest_field().
Syntax Syntax
Return Return
(string) The REST field type, such as post type name, taxonomy name, 'comment', or user
.
Source Source
File: wp-includes/rest-api/fields/class-wp-rest-meta-fields.php
abstract protected function get_rest_field_type();
Advertisement
Changelog Changelog
Version | Description |
---|---|
4.7.0 | Introduced. |