MemberPress: Send “Profile Updated” Admin Notification When MemberPress Account Is Updated
function account_user_profile_update( $user ) { $user_id = $user->ID; $site_url = get_bloginfo( ‘wpurl’ ); $user_info = get_userdata( $user_id ); $user_name = $user_info->display_name; //Retrieves user’s full name $user_email = $user_info->user_email; //Retrieves user’s e-mail address $subject = “Profile Updated: “.$site_url.””; $message = “Profile…Continue reading