WP_REST_Comment_Meta_Fields::get_meta_type()protectedWP 4.7.0

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 6.5.2

protected function get_meta_type() {
	return 'comment';
}