Ultimate member with Mycred profile completion hook
-
Hello,
I am building a site using ultimate member and was trying out the mycred plugin to award users points when they complete their profile. I was following along this tutorial and hit on a problem. The points get awarded when you update a standard wordpress profile but not when you do the same thing in a ultimate member profile.
The same problem was noted and answered in this forum question in which the tip was given to use the following hooks:do_action(‘um_after_user_updated’, um_user(‘ID’) );
do_action(‘um_after_user_upload’, um_user(‘ID’) );
do_action(‘um_user_after_updating_profile’, $to_update );i have tried to put these hooks into the run method of the mycred class but whatever i try nothing seems to fire the profile_update function. Things i have tried are as following:
do_action(‘um_user_after_updating_profile’, profile_update );
do_action(‘um_user_after_updating_profile’, array( $this, ‘profile_update’ ));
do_action(‘um_user_after_updating_profile’, $to_update, ‘profile_update’ );Any help would be appreciated!
- The topic ‘Ultimate member with Mycred profile completion hook’ is closed to new replies.