• Resolved LS

    (@lsterling03)


    Is there a function I can use to do the same thing as using the “Admin Filtering” button in the directory settings?

    I want to create a directory and have it show only a certain subset of users, just like you do with Admin Filtering. But I want to choose that subset of users based on a php variable of the current user, so I need to do it in the page template, not the UM interface,

    Is it this? https://docs.ultimatemember.com/article/1200-umprepareuserqueryargs

    If so, how do I target a specific directory ID?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support andrewshu

    (@andrewshu)

    Hello @lsterling03

    Sorry, but customizations are not included in our support. But you could use wp_user_query for your needs.

    Regards.

    Plugin Support andrewshu

    (@andrewshu)

    Hi @lsterling03

    This thread has been inactive for a while so we’re going to go ahead and mark it Resolved.

    Please feel free to re-open this thread if any other questions come up and we’d be happy to help. ??

    Regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Use admin filtering programmatically instead?’ is closed to new replies.