PluginProbe
Import Export Menu / trunk
Import Export Menu vtrunk
trunk 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 2.0.1 2.0.2 2.0.3 3.0.0
import-export-menu / includes / Activator.php

Activator.php in Import Export Menu trunk, at includes/Activator.php

34 lines 618 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Fired during plugin activation.
4 *
5 * @link https://yukyhendiawan.com
6 * @since 2.1.0
7 *
8 * @package Import_Export_Menu
9 */
10
11 declare(strict_types=1);
12
13 namespace ImportExportMenu;
14
15 defined( 'ABSPATH' ) || exit;
16
17 /**
18 * Plugin activation entry point.
19 *
20 * Fires the `import_export_menu_activate` action so downstream forks can hook setup
21 * code (table creation, default options, capability assignment, etc.).
22 *
23 * @since 2.1.0
24 */
25 final class Activator {
26
27 /**
28 * Run on plugin activation.
29 */
30 public static function activate(): void {
31 do_action( 'import_export_menu_activate' );
32 }
33 }
34