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.
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
}
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
(@imjay)
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
Thank you for your reply,
Did you check this link out 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