WP_REST_Post_Meta_Fields::get_meta_subtype()

Retrieves the post meta subtype.

Return

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

Source

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

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

Changelog

Version Description
4.9.8 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_rest_post_meta_fields/get_meta_subtype