This file contains 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
<?php | |
// determine the type of record it is and show the appropriate shortcode | |
if ( $this->participant_values['type1'] === 'fa-db' ) { | |
echo do_shortcode( '[pdb_record tabs=true groups="main,personal,passeport_details,contact_details,professional_details,work_details,airline_experience,documents"]' ); | |
} | |
elseif ( $this->participant_values['type1'] === 'fp-db' ) { | |
echo do_shortcode( '[pdb_record tabs=true groups="main,profil_provider,contact"]' ); | |
} | |
elseif ( $this->participant_values['type1'] === 'sp-db' ) { |