Show Media Libraray Attachments of own Role
-
Hello guys,
how can I use:
add_filter( 'ajax_query_attachments_args', 'show_users_own_attachments', 1, 1 ); function show_users_own_attachments($query){ ... }
in functions.php
to show only attachments of the current user role in the media library?Regards.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Show Media Libraray Attachments of own Role’ is closed to new replies.