Passing email token as parameter to shortcode

Hi,

You can try to error_log(print_r($user_info, true)) to check why it’s empty, and if it’s an object at all. I recommend accessing properties via the token though, you can access the same fields as with the ID:

%recipient.email%

Or any custom attribute:

%recipient.attribute_name_here%

Hope this helps

1 Like