Skip to content

Instantly share code, notes, and snippets.

@yousufansa
Created December 10, 2018 06:11
Show Gist options
  • Select an option

  • Save yousufansa/76dfe63ec413871342d031333fed5d2b to your computer and use it in GitHub Desktop.

Select an option

Save yousufansa/76dfe63ec413871342d031333fed5d2b to your computer and use it in GitHub Desktop.
Jobhunt - Job Submit Form Fields Label Change
if ( ! function_exists( 'jh_child_add_custom_job_form_fields_change_qualification' ) ) {
function jh_child_add_custom_job_form_fields_change_qualification( $fields ) {
if ( get_option('job_manager_enable_qualification') ) {
$fields['job']['job_listing_qualification']['label'] = esc_html__( 'Certification', 'jobhunt' );
$fields['job']['job_listing_qualification']['placeholder'] = 'Choose a certification…';
}
return $fields;
}
}
add_filter( 'submit_job_form_fields', 'jh_child_add_custom_job_form_fields_change_qualification', 20 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment