Changes between Initial Version and Version 1 of Ticket #42563, comment 4
- Timestamp:
- 12/12/2017 01:19:20 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #42563, comment 4
initial v1 1 Thanks for mentioning that @ptbello - I've fixed that entry to fix that.1 Thanks for mentioning that @ptbello - I've fixed that entry to reference `unregister_post_type()`. 2 2 3 3 The correct method here is to call `unregister_post_type()` (and/or `unregister_taxonomy()`) in the deactivation handler prior to calling `flush_rewrite_rules()`.