Created
October 8, 2019 20:25
-
-
Save imfaisalkh/eba07727ed2edae0722a1fe3e3b984d5 to your computer and use it in GitHub Desktop.
Capstone - Remove "Qualification" Field & Output
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#-----------------------------------------------------------------# | |
# 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