uninstall.php
Fired when the plugin is uninstalled.
Tags
Table of Contents
Functions
- delete_post_meta() : void
- Delete post metadata added by this plugin.
- delete_terms() : void
- Delete taxonomy terms added by this plugin.
- delete_cpt_content() : void
- Delete the CPT content added by this plugin.
- delete_options() : void
- Delete wp_options entries.
Functions
delete_post_meta()
Delete post metadata added by this plugin.
delete_post_meta() : void
Tags
delete_terms()
Delete taxonomy terms added by this plugin.
delete_terms() : void
- SQL manipulation of the tables is used because the taxonomies are not registered when uninstall is called.
- Most WordPress core taxonomy functions will NOT work.
Tags
delete_cpt_content()
Delete the CPT content added by this plugin.
delete_cpt_content() : void
Tags
delete_options()
Delete wp_options entries.
delete_options() : void