# wp-debugging/2.12.6/vendor/norcross/debug-quick-look/includes/activate.php

WP Debugging, version 2.12.6. 29 lines.

- Page: https://pluginprobe.com/plugins/wp-debugging/2.12.6/code/vendor/norcross/debug-quick-look/includes/activate.php
- Raw: https://pluginprobe.com/plugins/wp-debugging/2.12.6/raw/vendor/norcross/debug-quick-look/includes/activate.php
- Modified: 2021-12-19T22:32:48+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wp-debugging/2.12.6/code/vendor/norcross/debug-quick-look/includes/activate.php#L10-L20`.

```php
<?php
/**
 * Our activation call
 *
 * @package DebugQuickLook
 */

// Declare our namespace.
namespace DebugQuickLook\Activate;

// Set our alias items.
use DebugQuickLook as Core;
use DebugQuickLook\Helpers as Helpers;

/**
 * Our inital setup function when activated.
 *
 * @return void
 */
function activate() {

	// Include our action so that we may add to this later.
	do_action( Core\HOOK_PREFIX . 'activate_process' );

	// And flush our rewrite rules.
	flush_rewrite_rules();
}
register_activation_hook( Core\FILE, __NAMESPACE__ . '\activate' );

```
