wpseek.com
A WordPress-centric search engine for devs and theme authors



ajax_query_attachments_args › WordPress Filter Hooks

Since3.7.0
Deprecatedn/a
apply_filters( 'ajax_query_attachments_args', $query )
Parameters:
  • (array) $query An array of query variables.
    Required: Yes
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 );