PluginProbe
Sessions / 2.3.1
Sessions v2.3.1
2.1.0 2.10.0 2.11.0 2.12.0 2.13.0 2.13.1 2.13.2 2.13.3 2.14.0 2.2.0 2.3.0 2.3.1 2.4.0 2.4.1 2.5.0 2.6.0 2.6.1 2.6.2 2.7.0 2.8.0 2.9.0 2.9.1 3.0.0 3.1.0 3.1.1 All 39 releases
sessions / includes / plugin / class-activator.php

class-activator.php in Sessions 2.3.1, at includes/plugin/class-activator.php

36 lines 600 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Plugin activation handling.
4 *
5 * @package Plugin
6 * @author Pierre Lannoy <https://pierre.lannoy.fr/>.
7 * @since 1.0.0
8 */
9
10 namespace POSessions\Plugin;
11
12 use POSessions\Plugin\Feature\Schema;
13
14 /**
15 * Fired during plugin activation.
16 *
17 * This class defines all code necessary to run during the plugin's activation.
18 *
19 * @package Plugin
20 * @author Pierre Lannoy <https://pierre.lannoy.fr/>.
21 * @since 1.0.0
22 */
23 class Activator {
24
25 /**
26 * Activate the plugin.
27 *
28 * @since 1.0.0
29 */
30 public static function activate() {
31 $schema = new Schema();
32 $schema->initialize();
33 }
34
35 }
36