PluginProbe
WP Debugging / 2.12.6
WP Debugging v2.12.6
2.12.6 2.12.5 trunk 2.10.0 2.10.1 2.10.2 2.11.0 2.11.1 2.11.10 2.11.11 2.11.12 2.11.13 2.11.14 2.11.15 2.11.16 2.11.17 2.11.18 2.11.19 2.11.2 2.11.20 2.11.21 2.11.22 2.11.23 2.11.24 2.11.3 All 59 releases
wp-debugging / vendor / norcross / debug-quick-look / includes / activate.php

activate.php in WP Debugging 2.12.6, at vendor/norcross/debug-quick-look/includes/activate.php

29 lines 555 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Our activation call
4 *
5 * @package DebugQuickLook
6 */
7
8 // Declare our namespace.
9 namespace DebugQuickLook\Activate;
10
11 // Set our alias items.
12 use DebugQuickLook as Core;
13 use DebugQuickLook\Helpers as Helpers;
14
15 /**
16 * Our inital setup function when activated.
17 *
18 * @return void
19 */
20 function activate() {
21
22 // Include our action so that we may add to this later.
23 do_action( Core\HOOK_PREFIX . 'activate_process' );
24
25 // And flush our rewrite rules.
26 flush_rewrite_rules();
27 }
28 register_activation_hook( Core\FILE, __NAMESPACE__ . '\activate' );
29