ClassicPress logo
Skip to content
Filter by type:

Browse:

  • Home
  • Classes
  • WP_REST_Post_Meta_Fields
  • WP_REST_Post_Meta_Fields::get_meta_type()

WP_REST_Post_Meta_Fields::get_meta_type()

Retrieves the post meta type.


Return

(string) The meta type.


Source

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

	protected function get_meta_type() {
		return 'post';
	}

Expand Source Code View on GitHub


Changelog

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