Retrieves the object meta type.

Return Return

(string) One of 'post', 'comment', 'term', 'user', or anything else supported by _get_meta_table().

Top ↑

Source Source

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

	abstract protected function get_meta_type();

Top ↑

Changelog Changelog

Version Description
4.7.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.