[ Index ]

WordPress 5.4.1

[ Index ]     [ Classes ]     [ Functions ]     [ Variables ]     [ Constants ]     [ Statistics ]    

title

Body

[close]

/wp-includes/rest-api/fields/ -> class-wp-rest-user-meta-fields.php (summary)

REST API: WP_REST_User_Meta_Fields class

File Size: 51 lines (1 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

WP_REST_User_Meta_Fields:: (3 methods):
  get_meta_type()
  get_meta_subtype()
  get_rest_field_type()


Class: WP_REST_User_Meta_Fields  - X-Ref

Core class used to manage meta values for users via the REST API.

get_meta_type()   X-Ref
Retrieves the object meta type.

return: string The user meta type.

get_meta_subtype()   X-Ref
Retrieves the object meta subtype.

return: string 'user' There are no subtypes.

get_rest_field_type()   X-Ref
Retrieves the type for register_rest_field().

return: string The user REST field type.



Generated: Tue May 19 15:51:04 2020 Cross-referenced by PHPXref 0.7.1