WordPress at Your Fingertips
function is not described

WP_REST_Term_Meta_Fields::get_meta_subtype() protected WP 4.9.8

Retrieves the term meta subtype.

{} It's a method of the class: WP_REST_Term_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_Term_Meta_Fields::get_meta_subtype() WP 5.8

protected function get_meta_subtype() {
	return $this->taxonomy;