Skip to content

Instantly share code, notes, and snippets.

@imfaisalkh
Created October 8, 2019 20:25
Show Gist options
  • Save imfaisalkh/eba07727ed2edae0722a1fe3e3b984d5 to your computer and use it in GitHub Desktop.
Save imfaisalkh/eba07727ed2edae0722a1fe3e3b984d5 to your computer and use it in GitHub Desktop.
Capstone - Remove "Qualification" Field & Output
#-----------------------------------------------------------------#
# Remove "Qualification" Field
#-----------------------------------------------------------------#
function remove_default_qualification_field() {
remove_filters_with_method_name( 'submit_job_form_fields', 'frontend_job_qualification_field', 10 );
remove_filters_with_method_name( 'job_manager_job_listing_data_fields', 'admin_job_qualification_field', 10 );
}
add_action( 'init', 'remove_default_qualification_field' );
#-----------------------------------------------------------------#
# Remove "Qualification" Output
#-----------------------------------------------------------------#
function remove_qualification_output() {
remove_filters_with_method_name( 'single_job_listing_meta_start', 'job_qualification_meta', 10 );
}
add_action( 'init', 'remove_qualification_output' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment