wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



rest_comment_collection_params › WordPress Filter Hooks

Da4.7.0
Deprecaton/a
apply_filters( 'rest_comment_collection_params', $query_params )
Parametri:
  • (array) $query_params JSON Schema-formatted collection parameters.
    Richiesto:
Definito a:
Codex:

Filters REST API collection parameters for the comments controller.

This filter registers the collection parameter, but does not map the collection parameter to an internal WP_Comment_Query parameter. Use the rest_comment_query filter to set WP_Comment_Query parameters.





Sorgenti

return apply_filters( 'rest_comment_collection_params', $query_params );