Created
December 4, 2019 14:49
-
-
Save danjjohnson/0104476b2554ed2ac574fb30e1af1f18 to your computer and use it in GitHub Desktop.
Change resume permalink base
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
function change_resume_slug( $args ) { | |
$args['rewrite']['slug'] = _x( 'cv', 'Resume permalink - resave permalinks after changing this', 'wp_job_manager_resumes' ); | |
return $args; | |
} | |
add_filter( 'register_post_type_resume', 'change_resume_slug' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment