• Hello,
    I’m using some ajaxbased registration plugin. It has a hook, that can do something after succesfully registering an user.
    Can i somehow combine it with sending user a welcome message from s2member? You know, something like:
    add_action(‘after_register’, ‘send_s2_member_welcome’);

    🙂 thanks!

    https://wordpress.org/plugins/s2member/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Yes, the action hook is “user_register”. But I don’t know about message, you may need to assemble it.

    Thread Starter zel

    (@zel)

    Yeah, but I’m basically dropping registeration by s2member, and I’m using another plugin to register

    add_action(‘ANOTHER_PLUGIN_after_register’, ‘send_s2_member_welcome’);

    this add_action would be more appropriate. So I’m looking for a function in s2member core, that will send a message to a new registered user.

    Well, interesting idea… I would search for good hook in s2Member’s codes. But there is a trap – if you run a s2M function outside of s2M, it may need some vars, which is not initialized at the moment. So be careful.

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

The topic ‘Send s2member welcome message using another plugin?’ is closed to new replies.