Title: Is Registered Hook
Last modified: August 22, 2016

---

# Is Registered Hook

 *  Resolved [ImJay](https://wordpress.org/support/users/imjay/)
 * (@imjay)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/is-registered-hook/)
 * Just wondering how I can hook into UU and check if a user is registered and their
   email is confirmed?
 * [https://wordpress.org/plugins/users-ultra/](https://wordpress.org/plugins/users-ultra/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Contributor [Plugins Area](https://wordpress.org/support/users/usersultra/)
 * (@usersultra)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/is-registered-hook/#post-5900791)
 * Hello,
 * Thanksk for your post.
 * You could use this:
 *     ```
       global  $xoouserultra;
       $response= $xoouserultra->is_active($user_id);
   
       if($response)
       {
          //is registered and active
   
       }else{
   
          //not active
       }
       ```
   
 * I hope that helps a few.
 *  Plugin Contributor [Plugins Area](https://wordpress.org/support/users/usersultra/)
 * (@usersultra)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/is-registered-hook/#post-5900792)
 * **CORRECTION**:
 * This would be the right example:
 *     ```
       global  $xoouserultra;
       $response= $xoouserultra->userpanel->is_active($user_id);
   
       if($response)
       {
          //is registered and active
   
       }else{
   
          //not active
       }
       ```
   
 *  Plugin Contributor [Plugins Area](https://wordpress.org/support/users/usersultra/)
 * (@usersultra)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/is-registered-hook/#post-5900865)
 * Hello ImJay,
 * We haven’t heard back from you in a while.
    Please feel free to post again if
   you have any further questions. Cheers Adrian
 *  Thread Starter [ImJay](https://wordpress.org/support/users/imjay/)
 * (@imjay)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/is-registered-hook/#post-5900883)
 * That hook worked, thank you.
 * This is a little unrelated, but if you could share some more info on this error:
   
   FastCGI sent in stderr: “PHP message: PHP Warning: Missing argument 2 for XooUserLogin::
   uultra_handle_after_login() in /var/path/to/my/public_html/wp-content/plugins/
   users-ultra/xooclasses/xoo.userultra.login.php on line 15” while reading response
   header from upstream
 *  Plugin Contributor [Plugins Area](https://wordpress.org/support/users/usersultra/)
 * (@usersultra)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/is-registered-hook/#post-5900887)
 * Thank you for your reply,
 * Did you check this link out [http://doc.usersultra.com/user-after-login-hook/](http://doc.usersultra.com/user-after-login-hook/)?
 * We’re using the following hook
 *     ```
       add_action( 'wp_login', array($this, 'uultra_handle_after_login' ),99,2 );
       ```
   
 * We’ve tweaked the plugin a little bit. please update and let us know if the issue
   has been resolved
 * Cheers,
    Adrian

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Is Registered Hook’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/users-ultra_a880cc.svg)
 * [Users Ultra Membership, Users Community and Member Profiles With PayPal Integration Plugin](https://wordpress.org/plugins/users-ultra/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/users-ultra/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/users-ultra/)
 * [Active Topics](https://wordpress.org/support/plugin/users-ultra/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/users-ultra/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/users-ultra/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Plugins Area](https://wordpress.org/support/users/usersultra/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/is-registered-hook/#post-5900887)
 * Status: resolved