• Resolved Blutarsky

    (@blutarsky)


    I am using some custom filter to hide content in the media library:

    function show_users_own_attachments( $query ) 
    {
      $query['author'] = '-1'; // hide admin content
     return $query;
    }
    add_filter( 'ajax_query_attachments_args', 'show_users_own_attachments', 1, 1 );

    Will the plugin allow this sort of filtering at the same time?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘custom-user filtering?’ is closed to new replies.