In WordPress you can change the Custom Post Type slug easily from the dashboard post shown in the image below, but how can I change it via the back-end for all my CPT's?
I know I can use the rewrite argument, but that seems to only change the custom post type title.
How can I code a function to change to this:
- sitename/projects/project
instead of
- sitename/projects/slug-of-post
