WP_REST_Comment_Meta_Fields::get_meta_type() – Retrieves the object type for comment meta.

You appear to be a bot. Output may be restricted

Description

Retrieves the comment type for comment meta.

Usage

$string = WP_REST_Comment_Meta_Fields::get_meta_type();

Parameters

Returns

string The meta type.

Source

File name: wordpress/wp-includes/rest-api/fields/class-wp-rest-comment-meta-fields.php
Lines:

1 to 3 of 3
  protected function get_meta_type() {
    return 'comment';
  }
 

 View on GitHub View on Trac