Just use the slug
component of your rewrite
argument for your custom taxonomy:
register_taxonomy([
'rewrite' => [
'with_front' => false,
'slug' => 'cpt',
],
// Other args
]);
Just use the slug
component of your rewrite
argument for your custom taxonomy:
register_taxonomy([
'rewrite' => [
'with_front' => false,
'slug' => 'cpt',
],
// Other args
]);