Skip to content

Instantly share code, notes, and snippets.

@danjjohnson
Last active April 27, 2016 15:30
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/d1e4028814785ba89fe2d8699a8964e2 to your computer and use it in GitHub Desktop.
Save danjjohnson/d1e4028814785ba89fe2d8699a8964e2 to your computer and use it in GitHub Desktop.
WP Job Manager: Remove default values from job permalink slug
// Remove company name
add_filter( 'submit_job_form_prefix_post_name_with_company', '__return_false' );
// Remove location
add_filter( 'submit_job_form_prefix_post_name_with_location', '__return_false' );
// Remove job type
add_filter( 'submit_job_form_prefix_post_name_with_job_type', '__return_false' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment