Function to test current user state?
REALLY like your plugin (and I try to avoid them whenever I can.)
I’m adding a custom user row action in my All User section of the admin panel…do you have a public-facing function like the ones you mentioned int he FAQ that will return a boolean to test for the current state of the user, something like:
is_user_disabled( $uid )
is_user_locked( $uid )
If not, can you recommend the best way to test for these conditions?
- The topic ‘Function to test current user state?’ is closed to new replies.