Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Example of how to add additional sections to the personal information question group.
<?php // Please do not include the opening PHP tag if you already have one
add_filter( 'FHEE__EE_SPCO_Reg_Step_Attendee_Information___question_group_reg_form__question_group_reg_form', 'tw_add_content_personal_info_before_questions', 10, 4 );
function tw_add_content_personal_info_before_questions( $question_group_reg_form, $registration, $question_group, $reg_step ) {
if( strpos($question_group_reg_form->html_id(), 'ee-reg-form-qstn-grp-personal-information') !== false ) {
echo $question_group_reg_form->html_id();
'non_member_ticket_info' => new EE_Form_Section_HTML(
EEH_HTML::p('Some content here')
return $question_group_reg_form;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.