ClassicPress logo
Skip to content
Filter by type:

Browse:

  • Home
  • Classes
  • WP_REST_Post_Meta_Fields
  • WP_REST_Post_Meta_Fields::get_meta_subtype()

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;
	}

Expand Source Code View on GitHub


Changelog

Changelog
Version Description
4.9.8 Introduced.
ClassicPress Documentation • Made with ClassicPress
Privacy Policy