Core Class
View Source on Trac ↗
Core Class
WP_REST_Comment_Meta_Fields
class WP_REST_Comment_Meta_Fields
// Constructor: function Object() { [native code] } Core class to manage comment meta via the REST API.
Methods 3 methods
| Method / Return | Description |
|---|---|
| get_meta_type() string | Retrieves the comment type for comment meta. |
| get_meta_subtype() string | Retrieves the comment meta subtype. |
| get_rest_field_type() string | Retrieves the type for register_rest_field() in the context of comments. |
Class Information
Since Version
4.7.0
Source File
wp-includes/rest-api/fields/class-wp-rest-comment-meta-fields.php
Advertisement