WP_REST_Comment_Meta_Fields::get_meta_type

Advertisement

Summery Summery

Retrieves the object type for comment meta.

Syntax Syntax

WP_REST_Comment_Meta_Fields::get_meta_type()

Return Return

(string) The meta type.

Source Source

File: wp-includes/rest-api/fields/class-wp-rest-comment-meta-fields.php

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

Advertisement

Changelog Changelog

Changelog
Version Description
4.7.0 Introduced.

Advertisement

Leave a Reply