Add inline documentation for wp_edit_attachments_query(). props simonwheatley, SergeyBiryukov. fixes #21105.
git-svn-id: http://core.svn.wordpress.org/trunk@21179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3e8fe0e2e0
commit
dfa7b94b83
|
@ -925,12 +925,14 @@ function get_available_post_mime_types($type = 'attachment') {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@internal Missing Short 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.
|
||||||
|
*
|
||||||
* @since 2.5.0
|
* @since 2.5.0
|
||||||
|
* @uses apply_filters() Calls 'upload_per_page' on posts_per_page argument
|
||||||
*
|
*
|
||||||
* @param unknown_type $q
|
* @param array|bool $q Array of query variables to use to build the query or false to use $_GET superglobal.
|
||||||
* @return unknown
|
* @return array
|
||||||
*/
|
*/
|
||||||
function wp_edit_attachments_query( $q = false ) {
|
function wp_edit_attachments_query( $q = false ) {
|
||||||
if ( false === $q )
|
if ( false === $q )
|
||||||
|
|
Loading…
Reference in New Issue