wp_edit_attachments_query
wp_edit_attachments_query ( $q = false )
Parameters:- (array|false) q Array of query variables to use to build the query or false to use $_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.