A WordPress-centric search engine for devs and theme authors



ajax_query_attachments_args ›

Since3.7.0
Deprecatedn/a
apply_filters( 'ajax_query_attachments_args', $query )
Parameters:
  • (array) $query An array of query variables.
    Required: Yes
See:
  • WP_Query::parse_query()
Defined at:
Codex:

Filters the arguments passed to WP_Query during an Ajax call for querying attachments.





Source

$query = apply_filters( 'ajax_query_attachments_args', $query );