Created
September 28, 2017 12:28
-
-
Save Shininglow/c88a03d9f5e073ec43a9a2efea2bb7a0 to your computer and use it in GitHub Desktop.
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( 'cherry_projects_post_type_args', '_my_rewrite_slug' ); | |
function _my_rewrite_slug( $args ) { | |
$args['rewrite']['slug'] = 'top-projects'; | |
return $args; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment