WP_REST_Comment_Meta_Fields::get_meta_type()
Retrieves the comment type for comment meta.
Return
(string) The meta type.
Source
File: wp-includes/rest-api/fields/class-wp-rest-comment-meta-fields.php
protected function get_meta_type() { return 'comment'; }
Changelog
Version | Description |
---|---|
4.7.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_rest_comment_meta_fields/get_meta_type