06/20/2016 at 2:56 pm
#380111
Participant
Thanks so much for that. So if I want to take out multiple options and add multiple ones, do I just duplicate the lines incl. the semi-colon at the end?
add_filter( ‘cn_education_level_options’, ‘cn_change_edu_lvl’ ) );
function cn_change_edu_lvl( $options ) {
unset( $options['1'] ); // Remove 1st - 4th Grade
unset( $options['5'] );
unset( $options['7'] );
$options['50'] = 'CPA Qualification'; // Add an education option.
$options['51'] = 'Diploma';
return $options;
}