Thank you for the example, but it’s not working, I tried everything including changing the keys etc..
I am testing with send_email function in class-fep-emails.php and the mobile number is users custom field (Advanced Custom Fields plugin).
function send_email( $postid, $post ){
$participants = fep_get_participants( $postid );
$participants = apply_filters( ‘fep_filter_send_email_participants’, $participants, $postid );
if ( $participants && is_array( $participants ) ){
PM Recipient > Recipient user id > mobile custom field
Any help would be highly appreciated.
Thanks
Nick