PluginProbe
Powerkit – Supercharge your WordPress Site / 3.0.3
Powerkit – Supercharge your WordPress Site v3.0.3
3.1.1 3.1.0 3.0.9 3.0.8 trunk 2.2.6 2.2.7 2.2.8 2.2.9 2.3.0 2.3.1 2.3.2 2.3.3 2.3.4 2.3.5 2.3.6 2.3.7 2.3.8 2.3.9 2.4.0 2.4.1 2.4.2 2.4.3 2.4.4 2.4.5 All 87 releases
powerkit / powerkit.php

powerkit.php in Powerkit – Supercharge your WordPress Site 3.0.3, at powerkit.php

56 lines 1.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Plugin Name: Powerkit
4 * Description: Powerkit – essential components for every WordPress site.
5 * Version: 3.0.3
6 * Author: Code Supply Co.
7 * Author URI: https://codesupply.co
8 * License: GPL-2.0+
9 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
10 * Plugin URI: https://wordpress.org/plugins/powerkit/
11 * Text Domain: powerkit
12 * Domain Path: /languages
13 *
14 * @link https://codesupply.co
15 * @package Powerkit
16 */
17
18 defined( 'ABSPATH' ) || die( 'No script kiddies please!' );
19
20 /**
21 * Variables
22 */
23 define( 'POWERKIT_URL', plugin_dir_url( __FILE__ ) );
24 define( 'POWERKIT_PATH', plugin_dir_path( __FILE__ ) );
25
26 /**
27 * Plugin Activation.
28 *
29 * @param bool $networkwide The networkwide.
30 */
31 function powerkit_plugin_activation( $networkwide ) {
32 do_action( 'powerkit_plugin_activation', $networkwide );
33 }
34 register_activation_hook( __FILE__, 'powerkit_plugin_activation' );
35
36 /**
37 * Plugin Deactivation.
38 *
39 * @param bool $networkwide The networkwide.
40 */
41 function powerkit_plugin_deactivation( $networkwide ) {
42 do_action( 'powerkit_plugin_deactivation', $networkwide );
43 }
44 register_deactivation_hook( __FILE__, 'powerkit_plugin_deactivation' );
45
46 /**
47 * Language
48 */
49 load_plugin_textdomain( 'powerkit', false, plugin_basename( POWERKIT_PATH ) . '/languages' );
50
51 /**
52 * The core plugin class that is used to define internationalization,
53 * admin-specific hooks, and public-facing site hooks.
54 */
55 require_once plugin_dir_path( __FILE__ ) . '/core/class-powerkit.php';
56