WPDev.one
Core Function
View Source on Trac ↗

wp_edit_attachments_query_vars()

wp_edit_attachments_query_vars( mixed $q = false )

Returns the query variables for the current attachments request.

Parameters 1 required

Name / Type Description
mixed

(array | false) $q Optional. Array of query variables to use to build the query. Defaults to the `$_GET` superglobal.

Required

Return Value

(array)
The parsed query vars.

Function Information

Since Version
4.2.0
Source File
wp-admin/includes/post.php
Advertisement