• Resolved _SSS

    (@_sss)


    Hi guyes,
    i want create the webhook reset password or change the password ?i had try hookpress plugin its not working for reset password . and their support not reply yet so any can help me .

Viewing 2 replies - 1 through 2 (of 2 total)
  • Justin Greer

    (@justingreerbbi)

    When did you post for to their support thread? Perhaps you should hold off and posting double until you know they are not going to respond to you. People here are volunteers and use our free time to provide support and advice.

    You can check out https://codex.www.ads-software.com/Plugin_API/Action_Reference/password_reset for more information on the reset hook. You then use the profile_update action to check for a password change using the following code:

    add_action( 'profile_update', 'wo_profile_update_action' );
    function wo_profile_update_action( $user_id ) {
      if ( ! isset( $_POST['pass1'] ) || '' == $_POST['pass1'] ) {
      	// no password change, continue without hook
            return;
      }
    
       // The password was change, do some logic here
      some code here
    }
    Thread Starter _SSS

    (@_sss)

    Hi justin ,
    Thank you for the input ,my problem was solved and BTW i had post their support a week ago and they are not replied yet . but the issue is fix now .TY again

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘how to create webhook to change password or reset the password’ is closed to new replies.