WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

wp_edit_attachments_query() WP 2.5.0

Executes a query for attachments. An array of WP_Query arguments can be passed in, which will override the arguments set by this function.

Хуков нет.

Возвращает

Массив.

Использование

wp_edit_attachments_query( $q );
$q(массив/false)
Array of query variables to use to build the query or false to use $_GET superglobal.
По умолчанию: false

Код wp edit attachments query: wp-admin/includes/post.php VER 5.1.1

<?php
function wp_edit_attachments_query( $q = false ) {
	wp( wp_edit_attachments_query_vars( $q ) );

	$post_mime_types       = get_post_mime_types();
	$avail_post_mime_types = get_available_post_mime_types( 'attachment' );

	return array( $post_mime_types, $avail_post_mime_types );
}