Created
October 21, 2020 09:51
-
-
Save digamber89/d2ad2cbbc6c67e08b545c697c9eab26b to your computer and use it in GitHub Desktop.
Zoom WooCommerce Appointments show phone numbers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action( 'vczapi_appointments_after_meeting_details', 'cm_show_phone_numbers' ); | |
function cm_show_phone_numbers($meeting_details){ | |
$numbers = $meeting_details->settings->global_dial_in_numbers; | |
echo '<strong> Dial In Numbers: </strong>'; | |
foreach ( $numbers as $number ) { | |
echo '<p><a href="tel:'.$number->number.'">'.$number->number.' ( '.$number->country_name.' )</a></p>'; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment