Thread Starter
vtro
(@vtro)
Hi,
Thanks for the answer. Somehow I missed your first answer from 5 days ago and only received a notification about the second.
I tried calling getSubscriberFields() within the function mailpoet_custom_shortcode($subscriber) directly but that doesn’t seem to work, I had to initialize the API first. Even then, this would not just extend the accessible fields of the $subscriber object, I could only access custom fields using the API function getSubscriber().
Which is perfectly fine, though – main thing it works now!
Cheers
-
This reply was modified 6 years, 10 months ago by vtro.