Only show the current user’s own attachments within the WP media library.
Copy to Clipboard
Parameters
$query_options
The query object sent from
Return
array
Returns the input $query_options
but sets author to the current user’s ID.
Example
Used in a filter in ajax.
Copy to Clipboard