pfeifferNet

Deactivator
in package

FinalYes

Fired by the plugin deactivation process.

  • This class contains the functionality to run during the plugin's deactivation.
Tags
since
1.0.0
since
5.11.0

Refactor to simplify and remove multisite network deactivation.

since
6.1.0

Refactor for consistency with class-activator.

Table of Contents

Constants

ACTIVATION_KEY  = 'plogin_activated'
The plugin activation key in wp_options.

Methods

run()  : void
Remove plugin attributes.
reset_permalinks()  : void
Reset permalinks.

Constants

ACTIVATION_KEY

The plugin activation key in wp_options.

private string ACTIVATION_KEY = 'plogin_activated'
Tags
since
6.1.0

Methods

Reset permalinks.

private static reset_permalinks() : void
  • Must be last action in deactivation.
  • Flush permalink rewrite rules.
Tags
since
6.1.0

        
On this page

Search results