W3cubDocs

/WordPress

apply_filters( 'ajax_query_attachments_args', array $query )

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

Description

See also

Parameters

$query

(array) An array of query variables.

Source

File: wp-admin/includes/ajax-actions.php

View on Trac

Changelog

Version Description
3.7.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/ajax_query_attachments_args