PRINT

WordPress Change CPT or Taxonomy

Hello,

1.) Taxonomy name change:-

File Name: taxonomies.php

File Path:  plugins\dzcore\includes\helpers

check:

https://prnt.sc/zfpGhGSEPA4g

https://prnt.sc/kmOSZVxrzqCq

https://prnt.sc/0c99CNgg6TFM


2.) Custom Post Type name change:-

https://prnt.sc/lDasvRBH-gk8


File Name: post_types.php

File Path: plugins\dzcore\includes\resource

Find the last slug and change it with a new slug, in the theme and the dzcore plugin


You must run a function once whenever you change the taxonomy or CPT name.

flush_rewrite_rules()

https://prnt.sc/XGVAmzSneJi7

Thanks