• Resolved careerbuggy

    (@careerbuggy)


    I installed this plugin to create users from the android app. User is getting registered with user role ‘customer’, I have set up to send a couple of emails when a new user gets registered like welcome email, activate or verify email from WooCommerce. With this plugin, none of the emails going out when a new user is getting registered from the Android app. So I tried to write code in the given filter ‘wp_rest_user_user_register’ but this action filer does not fire when the new user registered. If anyone tried let me know.

    add_action(‘wp_rest_user_user_register’, ‘user_registered’);
    function user_registered($user) {
    // Do Something
    }

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘User Register add_action does not fire’ is closed to new replies.