Open bobbingwide opened 5 years ago
That’s a good question. This side effect would allow us to avoid the notices produced when WooCommerce is not active.
I changed the post type definitions for two post types and it worked.
WooCommerce scheduled-action
- corrected the spelling of the description
Easy Digital Downloads - edd_payments
- added a description.
Having recently developed oik-unloader I've found another reason for allowing the registration overrides to continue to register CPTs when the original plugins are deactivated. I'll need to try this for sites with WooCommerce where we still need products
to be registered in order to get the correct permalinks.
The
download
post type is registered by Easy-Digital-Downloads. I wanted to clone the content so added the capability using oik-types. Having created blocks for EDD, using oik-loader, I no longer need it to be activated. But when EDD is deactivated, the post type is still visible in the admin area. Should it be?