HI @ultimatemembersupport,
Thank you for the information, i can located the code as mentioned, however since i am quite green on modifying plugin coding, would you please confirm if i editing it correctly? Because when i saved the changes, it still showing blank when the welcome mail is sent.
first i added ‘{description}’ as below
$pattern_array = array(
‘{first_name}’,
‘{last_name}’,
‘{display_name}’,
‘{user_avatar_small}’,
‘{username}’,
‘{description}’,
);
then i also insert the code as below
if ($usermeta == ‘username’) {
$value = um_user(‘user_login’);
}
if ($usermeta == ‘description’) {
$value = um_user(‘description’);
}
Am i doing it correctly?
-
This reply was modified 7 years, 10 months ago by kennethhkg.