WordPress at a glance
filter is not described

ajax_query_attachments_args filter-hook . WP 3.7.0

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

Usage

add_filter( 'ajax_query_attachments_args', 'filter_function_name_748' );
function filter_function_name_748( $query ){
	// filter...

	return $query;
}
$query(array)
An array of query variables.

Changelog

Since 3.7.0 Introduced.

Where the hook is called

wp_ajax_query_attachments()
ajax_query_attachments_args
wp-admin/includes/ajax-actions.php 2966
$query = apply_filters( 'ajax_query_attachments_args', $query );

Where in WP core the hook is used

Usage not found!