Support » Plugin: WP-Members: Membership Framework » Select Activated Users

  • Resolved greenday

    (@greenday)


    Hi

    I am trying to get a list of all users that are activated using this code:

    <?php
    $blogusers = get_users(array('meta_key' => 'activate_user', 'meta_value' => '1'));
        foreach ($blogusers as $user) {
            echo '<li>' . $user->user_email . '</li>';
        }
    ?>

    But it doesnt work – any ideas?

    http://wordpress.org/extend/plugins/wp-members/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Select Activated Users’ is closed to new replies.