WP_REST_Comment_Meta_Fields::get_meta_type
Retrieves the comment type for comment meta.
Method of the class: WP_REST_Comment_Meta_Fields{}
No Hooks.
Returns
String. The meta type.
Usage
// protected - for code of main (parent) or child class $result = $this->get_meta_type();
Changelog
| Since 4.7.0 | Introduced. |
WP_REST_Comment_Meta_Fields::get_meta_type() WP REST Comment Meta Fields::get meta type code WP 7.0
protected function get_meta_type() {
return 'comment';
}