WordPress at Your Fingertips
function is not described

WP_REST_Meta_Fields::get_meta_subtype() protected WP 4.9.8

Retrieves the object meta subtype.

{} It's a method of the class: WP_REST_Meta_Fields{}

No Hooks.


String. Subtype for the meta type, or empty string if no specific subtype.


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


Since 4.9.8 Introduced.

Code of WP_REST_Meta_Fields::get_meta_subtype() WP 5.9

protected function get_meta_subtype() {
	return '';