Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Action hook eMember_profile_updated not working

by

Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember Troubleshooting › Action hook eMember_profile_updated not working

Tagged: action hook

  • This topic has 8 replies, 2 voices, and was last updated 6 years, 10 months ago by admin.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • July 23, 2018 at 3:19 pm #14978
    jasmin
    Spectator

    I’m using WP eMember with the Form Builder extension to create a registration form with many custom fields. Everything is working fine. The registration process and the Edit Profile process write the proper Data in the “wp_wp_members_meta_tbl” table.

    Now I need a function that will call if some data has changed in this table. So I tried to use the three following action hooks:

    – eMember_registration_complete

    – eMember_registration_complete_admin_side

    – eMember_profile_updated

    Everything was working fine, but the “eMember_profile_updated” hook does not fire after I changed some data at the “Edit Profile” page.

    Don’t understand why, I already tried a lot to fix the issue but without any effect. It seems to me like the hook does not exist.

    There is my code:

    add_action('eMember_profile_updated', 'run_my_custom_function', 10, 2);

    function run_my_custom_function($fields, $custom_fields){

    $member_id = $fields['member_id'];
    $username = $fields['username'];

    print $username . ', ' . $member_id;

    }

    It would be really nice to get some help here cause I don’t have more ideas.

    Thank you very much!

    July 24, 2018 at 9:34 am #78207
    admin
    Keymaster

    Hi, What version of the emember plugin are you using at the moment?

    July 24, 2018 at 1:01 pm #78208
    jasmin
    Spectator

    I’m using the current version 10.0.5 of WP eMember and the current version 4.9 of Form Builder

    July 25, 2018 at 12:43 am #78209
    admin
    Keymaster

    I needed to add that hook to the form builder addon. I have sent you the updated copy via email.

    Form builder now triggers the following 2 hooks after a profile edit:

    eMember_profile_updated

    eMember_profile_updated_form_builder

    July 30, 2018 at 9:18 am #78210
    jasmin
    Spectator

    Perfect thank you J

    So that changes will be also in the next update of the form builder addon?

    Due to I don’t want to override this changes if I update form builder next time.

    July 31, 2018 at 1:15 am #78211
    admin
    Keymaster

    Yep, that changes were committed to the main code base. So it will be there in the future.

    July 31, 2018 at 8:26 am #78212
    jasmin
    Spectator

    Ok perfect.

    One last question, to which e-mail address did you send the updated copy of the form builder?

    Cause the e-mail here is from my company and they told me that they didn’t get something.

    Would it possible to send me the mail again, but to my personal e-mail? [email removed]

    Thank you very much!

    [/email]

    July 31, 2018 at 8:48 am #78213
    jasmin
    Spectator

    Ok, I’m sorry we found the email now, but the link inside unfortunately is expired now.

    August 1, 2018 at 12:39 am #78214
    admin
    Keymaster

    I have sent you another one just now.

  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ