Skip to content

Instantly share code, notes, and snippets.

@danjjohnson
Created October 16, 2019 07:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danjjohnson/99e33e563aa7ef0e6e6af41abb2cc903 to your computer and use it in GitHub Desktop.
Save danjjohnson/99e33e563aa7ef0e6e6af41abb2cc903 to your computer and use it in GitHub Desktop.
Change the default Job Type in job submission form
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