The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
Is there a function or data structure which would allow me to extract the email addresses for each entry? I would like to customize the “Name” temple to link names to a primary email addresses by way of a mailto: link
You can use this:
$email = $entry->getEmailAddresses();
This will retrieve all addresses as an array, so you only need to pop off the first.
You could also limit the result to 1, like this:
$email = $entry->getEmailAddresses( array( 'limit' => 1 ) );
The result will still be an array, but limited to only 1 email address.
Either way to get just the address you can do this:
Hope that helps!
You cannot reply to this support topic. Please open your own support topic.