When we register a custom taxonomy or post type, does the WP database modified at all?

When you register post type it is stored in a global var name $wp_post_types
and the taxonomies are stored in a global var named $wp_taxonomies

Its all in the memory since you need it all and if it was stored in the database you would need to pull it from the database and then it would still be in the memory.

Leave a Comment