WP_REST_User_Meta_Fields::get_meta_subtype
Retrieves the user meta subtype.
Method of the class: WP_REST_User_Meta_Fields{}
No Hooks.
Returns
String. 'user' There are no subtypes.
Usage
// protected - for code of main (parent) or child class $result = $this->get_meta_subtype();
Changelog
| Since 4.9.8 | Introduced. |
WP_REST_User_Meta_Fields::get_meta_subtype() WP REST User Meta Fields::get meta subtype code WP 7.0
protected function get_meta_subtype() {
return 'user';
}