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.7.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 369
    365
    366
    367
    368
    369
    370
    371
    372
    373
    374
    375
         * @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: