[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/rest-api/fields/ -> class-wp-rest-comment-meta-fields.php (summary)

REST API: WP_REST_Comment_Meta_Fields class

File Size: 51 lines (1 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

WP_REST_Comment_Meta_Fields:: (3 methods):
  get_meta_type()
  get_meta_subtype()
  get_rest_field_type()


Class: WP_REST_Comment_Meta_Fields  - X-Ref

Core class to manage comment meta via the REST API.

get_meta_type()   X-Ref
Retrieves the comment type for comment meta.

return: string The meta type.

get_meta_subtype()   X-Ref
Retrieves the comment meta subtype.

return: string 'comment' There are no subtypes.

get_rest_field_type()   X-Ref
Retrieves the type for register_rest_field() in the context of comments.

return: string The REST field type.



Generated : Sun Dec 22 08:20:01 2024 Cross-referenced by PHPXref