WP_REST_User_Meta_Fields::get_meta_type

Advertisement

Summery Summery

Retrieves the object meta type.

Syntax Syntax

WP_REST_User_Meta_Fields::get_meta_type()

Return Return

(string) The user meta type.

Source Source

File: wp-includes/rest-api/fields/class-wp-rest-user-meta-fields.php

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

Advertisement

Changelog Changelog

Changelog
Version Description
4.7.0 Introduced.

Advertisement

Leave a Reply