rest_comment_collection_params

rest_comment_collection_params

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('rest_comment_collection_params') is found 1 times:

  • /wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php line 1696
    		 * @since 4.7.0
    		 *
    		 * @param array $query_params JSON Schema-formatted collection parameters.
    		 */
    		return apply_filters( 'rest_comment_collection_params', $query_params );
    	}
    
    	/**
    	 * Sets the comment_status of a given comment object when creating or updating a comment.
    	 *
    	 * @since 4.7.0