WP_REST_Meta_Fields::get_meta_type(): string

In this article

Retrieves the object meta type.

Return

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

Source

abstract protected function get_meta_type();

Changelog

VersionDescription
4.7.0Introduced.

User Contributed Notes

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