WP_REST_Comment_Meta_Fields::get_meta_type
Retrieves the comment type for comment meta.
Метод класса: WP_REST_Comment_Meta_Fields{}
Хуков нет.
Возвращает
Строку. The meta type.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->get_meta_type();
Список изменений
| С версии 4.7.0 | Введена. |
Код WP_REST_Comment_Meta_Fields::get_meta_type() WP REST Comment Meta Fields::get meta type WP 6.9.1
protected function get_meta_type() {
return 'comment';
}