WordPress at Your Fingertips
function is not described

WP_REST_Post_Meta_Fields::get_rest_field_type() public WP 4.7.0

{} It's a method of the class: WP_REST_Post_Meta_Fields{}

No Hooks.

Return

String. The REST field type.

Usage

$WP_REST_Post_Meta_Fields = new WP_REST_Post_Meta_Fields();
$WP_REST_Post_Meta_Fields->get_rest_field_type();

Notes

Code of WP_REST_Post_Meta_Fields::get_rest_field_type() WP 5.8.3

public function get_rest_field_type() {
	return $this->post_type;
}