pfeifferNet

Activator
in package

FinalYes

Fired by the plugin activation process.

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

Refactor to simplify and remove multisite network activation.

since
6.1.0

Refactor for consistency with pNet class-activator.

Table of Contents

Constants

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

Methods

run()  : void
Run the plugin activation process.
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 activation.
  • Flush permalink rewrite rules.
Tags
since
6.1.0

        
On this page

Search results