Redeclare/Change Slug of a Plugin’s Custom Post Type
Yes, this is possible, but if the plugin is creating a custom post type using the rewrite => array(‘slug’ => ‘post_type’) parameter, then it’s not likely that you’re going to be able to replace the slug. Whenever custom post types are created, URL rewrite rules are written to the database. Depending on which action triggers … Read more