apply_filters( 'rest_pattern_directory_collection_params', array $query_params )

Filter collection parameters for the block pattern directory controller.


Parameters

$query_params array
JSON Schema-formatted collection parameters.

Top ↑

Source

File: wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php. View all references

return apply_filters( 'rest_pattern_directory_collection_params', $query_params );


Top ↑

Changelog

Changelog
Version Description
5.8.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.