SHARE
TWEET

Untitled

a guest Jul 17th, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. jQuery(document).on('lrm_user_logged_in', function(response, $form, action) {
  2.     if ( "register"=== action && response.data.user_id && $(".um-153").length > 0 ) {
  3.     // $(".um-153").length > 0 is optionally to check if your form is loaded on the page, like
  4.    
  5.      // DO your ACTION like
  6.       my_send_teacher_msg(response.data.user_id);
  7.     }
  8. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top