Im trying to get an array of IDs for all my active members for use with another plugin.
Something like this:
$active_members = array( 1, 2, 3, 4 ) // my active members IDs here
So when I go to my Membership page to view all members, if I click Deactivate, this person's user ID won't be in the array anymore. But if I click Active they will be again.
Not sure how to do this. Thanks