Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.