WP_REST_User_Meta_Fields::get_meta_type()protectedWP 4.7.0

Retrieves the user meta type.

Method of the class: WP_REST_User_Meta_Fields{}

No Hooks.

Return

String. The user meta type.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_meta_type();

Changelog

Since 4.7.0 Introduced.

WP_REST_User_Meta_Fields::get_meta_type() code WP 6.6.2

protected function get_meta_type() {
	return 'user';
}