rest_pattern_directory_collection_params

rest_pattern_directory_collection_params

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.5.2

apply_filters('rest_pattern_directory_collection_params') is found 1 times:

  • /wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php line 376
    		 * @since 5.8.0
    		 *
    		 * @param array $query_params JSON Schema-formatted collection parameters.
    		 */
    		return apply_filters( 'rest_pattern_directory_collection_params', $query_params );
    	}
    
    	/*
    	 * Include a hash of the query args, so that different requests are stored in
    	 * separate caches.
    	 *
    

See this hook used in plugins: