Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- #-----------------------------------------------------------------#
- # Remove "Salary" Field
- #-----------------------------------------------------------------#
- function remove_default_salary_field() {
- remove_filters_with_method_name( 'submit_job_form_fields', 'frontend_job_salary_field', 10 );
- remove_filters_with_method_name( 'job_manager_job_listing_data_fields', 'admin_job_salary_field', 10 );
- }
- add_action( 'init', 'remove_default_salary_field' );
- #-----------------------------------------------------------------#
- # Remove "Salary" Output
- #-----------------------------------------------------------------#
- function remove_salary_output() {
- remove_filters_with_method_name( 'single_job_listing_meta_start', 'job_salary_meta', 10 );
- }
- add_action( 'init', 'remove_salary_output' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement