WP_REST_Comments_Controller::normalize_query_param

SummerySummery

Prepends internal property prefix to query parameters to match our response fields.

Syntax

WP_REST_Comments_Controller::normalize_query_param( string $query_param )

ParametersParameters

$query_param

(string) (Required) Query parameter.

ReturnReturn

(string) The normalized query parameter.

SourceSource

File: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php


			

ChangelogChangelog

Changelog
Version Description
4.7.0 Introduced.
Scroll to Top