Skip to content

Instantly share code, notes, and snippets.

@bryceadams
Created May 6, 2015 22:52
Show Gist options
  • Save bryceadams/0d6cc1bd7b532b6992a3 to your computer and use it in GitHub Desktop.
Save bryceadams/0d6cc1bd7b532b6992a3 to your computer and use it in GitHub Desktop.
add_filter( 'submit_job_form_fields', 'job_manager_terms_conditions' );
function job_manager_terms_conditions( $fields ) {
$fields['job']['terms'] = array(
'label' => __( 'I accept the Terms & Conditions', 'job_manager' ),
'type' => 'checkbox',
'required' => true,
'placeholder' => '',
'priority' => 50
);
return $fields;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment