Created
October 16, 2019 07:49
-
-
Save danjjohnson/99e33e563aa7ef0e6e6af41abb2cc903 to your computer and use it in GitHub Desktop.
Change the default Job Type in job submission form
This file contains 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
add_filter( 'submit_job_form_fields', 'custom_submit_job_form_fields' ); | |
function custom_submit_job_form_fields( $fields ) { | |
$fields['job']['job_type']['default'] = "freelance"; | |
return $fields; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment