WPDev.one
Core Class

WP_REST_User_Meta_Fields

class WP_REST_User_Meta_Fields // Constructor: function Object() { [native code] }

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

Methods 3 methods

Method / Return Description
get_meta_type()
string

Retrieves the user meta type.

get_meta_subtype()
string

Retrieves the user meta subtype.

get_rest_field_type()
string

Retrieves the type for register_rest_field().

Class Information

Since Version
4.7.0
Source File
wp-includes/rest-api/fields/class-wp-rest-user-meta-fields.php
Advertisement