pfeifferNet

uninstall.php

Fired when the plugin is uninstalled.

Tags
since
1.0.0
copyright

2024 Keith Pfeiffer

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
since
6.1.0

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
since
6.1.0

delete_cpt_content()

Delete the CPT content added by this plugin.

delete_cpt_content() : void
Tags
todo

#75 Determine CPT content deletion strategy on uninstall.

since
6.1.0

delete_options()

Delete wp_options entries.

delete_options() : void
Tags
since
6.1.0

        
On this page

Search results