WP_REST_Post_Meta_Fields::get_meta_subtype() protected WP 4.9.8
Retrieves the object meta subtype.
{} Это метод класса: WP_REST_Post_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_Post_Meta_Fields::get_meta_subtype() WP REST Post Meta Fields::get meta subtype WP 5.7.1
protected function get_meta_subtype() {
return $this->post_type;
}