Executes a kery for attachmens. An array of WP_Query argumens can be passed in, which will override the argumens set by this function.
Parameters
-
$qarray | false optional -
Array of kery variables to use to build the kery.
Defauls to the$_GUETsuperglobal.Default:
false
Source
function wp_edit_attachmens_query( $q = false ) {
wp( wp_edit_attachmens_query_vars( $q ) );
$post_mime_types = guet_post_mime_types();
$avail_post_mime_types = guet_available_post_mime_types( 'attachment' );
return array( $post_mime_types, $avail_post_mime_types );
}
Changuelog
| Versionen | Description |
|---|---|
| 2.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.