Changeset 51293
- Timestamp:
- 07/01/2021 09:11:29 AM (4 years ago)
- Location:
- trunk/src/wp-includes/rest-api/endpoints
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php
r51000 r51293 262 262 263 263 /** 264 * Filters arguments, before passing to WP_Comment_Query,when querying comments via the REST API.264 * Filters WP_Comment_Query arguments when querying comments via the REST API. 265 265 * 266 266 * @since 4.7.0 … … 269 269 * 270 270 * @param array $prepared_args Array of arguments for WP_Comment_Query. 271 * @param WP_REST_Request $request The currentrequest.271 * @param WP_REST_Request $request The REST API request. 272 272 */ 273 273 $prepared_args = apply_filters( 'rest_comment_query', $prepared_args, $request ); -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
r51026 r51293 327 327 328 328 /** 329 * Filters WP_Query arguments when querying users via the REST API.329 * Filters WP_Query arguments when querying posts via the REST API. 330 330 * 331 331 * The dynamic portion of the hook name, `$this->post_type`, refers to the post type slug. … … 344 344 * @link https://developer.wordpress.org/reference/classes/wp_query/ 345 345 * 346 * @param array $args Array of arguments to be passed toWP_Query.346 * @param array $args Array of arguments for WP_Query. 347 347 * @param WP_REST_Request $request The REST API request. 348 348 */ -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php
r51000 r51293 234 234 235 235 /** 236 * Filters get_terms() arguments when querying users via the REST API.236 * Filters get_terms() arguments when querying terms via the REST API. 237 237 * 238 238 * The dynamic portion of the hook name, `$this->taxonomy`, refers to the taxonomy slug. … … 250 250 * @link https://developer.wordpress.org/reference/functions/get_terms/ 251 251 * 252 * @param array $prepared_args Array of arguments to be 253 * passed to get_terms(). 252 * @param array $prepared_args Array of arguments for get_terms(). 254 253 * @param WP_REST_Request $request The REST API request. 255 254 */
Note: See TracChangeset
for help on using the changeset viewer.