Change custom booking form in template
-
I’ve been trying to figure out how to show a different form depending on the user locale (language). Hopefully the author will have the features to add fields for different translations of the labels on the form.
For now I’d like to hack around and assign a different form (with the translated labels) when viewed in certain language (WPML).
Found out the file ..templates/placeholders/bookingform.php, specifically this line of code:
do_action('em_booking_form_custom', $EM_Event); //do not delete
is responsible for showing the custom booking form field but so far haven’t located the variable that makes it retrieved a specific custom booking form.Can someone enlighten what sorcery is that? Though I’m a little sad that this part aren’t quite clear and somehow made secret to everyone. Not so open *source*.
- The topic ‘Change custom booking form in template’ is closed to new replies.