WordPress at Your Fingertips
function is not described

WP_REST_Post_Meta_Fields::get_meta_subtype() protected WP 4.9.8

Retrieves the post meta subtype.

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

No Hooks.

Return

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

Usage

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

Code of WP_REST_Post_Meta_Fields::get_meta_subtype() WP 5.8.3

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