WP_REST_Meta_Fields::get_meta_subtype()protectedWP 4.9.8

Retrieves the object meta subtype.

Метод класса: WP_REST_Meta_Fields{}

Хуков нет.

Возвращает

Строку. Subtype for the meta type, or empty string if no specific subtype.

Использование

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->get_meta_subtype();

Список изменений

С версии 4.9.8 Введена.

Код WP_REST_Meta_Fields::get_meta_subtype() WP 6.5.2

protected function get_meta_subtype() {
	return '';
}