WP_REST_Meta_Fields::get_rest_field_type() protected WP 4.7.0
Retrieves the object type for register_rest_field().
{} It's a method of the class: WP_REST_Meta_Fields{}
No Hooks.
Return
String. The REST field type, such as post type name, taxonomy name, 'comment', or user.
Usage
// protected - for code of main (parent) or child class $result = $this->get_rest_field_type();
Changelog
Since 4.7.0 | Introduced. |
Code of WP_REST_Meta_Fields::get_rest_field_type() WP REST Meta Fields::get rest field type WP 5.6
abstract protected function get_rest_field_type();