WP_REST_Term_Meta_Fields::get_meta_subtype
Retrieves the term meta subtype.
Метод класса: WP_REST_Term_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_Term_Meta_Fields::get_meta_subtype() WP REST Term Meta Fields::get meta subtype WP 6.9
protected function get_meta_subtype() {
return $this->taxonomy;
}