wp_edit_attachments_query
wp_edit_attachments_query ( $q = false )
Parameters:- (array|false) q Optional. Array of query variables to use to build the query. Defaults to the `$_GET` superglobal.
Returns:Defined at: - Introduced in WordPress: 2.5.0
- Deprecated in WordPress: —
Description
Executes a query for attachments. An array of WP_Query arguments
can be passed in, which will override the arguments set by this function.