WP_REST_Comment_Meta_Fields::get_meta_subtype │ protected │ WP 4.9.8

Retrieves the comment meta subtype.

Method of the class: WP_REST_Comment_Meta_Fields{}

No Hooks.

Returns

string. 'comment' There are no subtypes.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_meta_subtype();

Changelog

Since 4.9.8 Introduced.

WP_REST_Comment_Meta_Fields::get_meta_subtype() code WP 7.1.2

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