WordPress at a glance
function is not described

WP_REST_Meta_Fields::get_meta_type() protected WP 4.7.0

Retrieves the object meta type.

{} It's a method of the class: WP_REST_Meta_Fields{}

No Hooks.

Return

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

Usage

// protected - for code of main (parent) or child class
$result = $this->get_meta_type();

Changelog

Since 4.7.0 Introduced.

Code of WP_REST_Meta_Fields::get_meta_type() WP 5.5.1

<?php
abstract protected function get_meta_type();