Files
CHIEFSOFT\ameye e9e5c0546c first commit
2023-11-30 13:20:54 -05:00

55 lines
1.5 KiB
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
/**
* Plugin Name: Powerkit
* Description: Powerkit essential components for every WordPress site.
* Version: 2.8.2
* Author: Code Supply Co.
* Author URI: https://codesupply.co
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
* Text Domain: powerkit
* Domain Path: /languages
*
* @link https://codesupply.co
* @package Powerkit
*/
defined( 'ABSPATH' ) || die( 'No script kiddies please!' );
/**
* Variables
*/
define( 'POWERKIT_URL', plugin_dir_url( __FILE__ ) );
define( 'POWERKIT_PATH', plugin_dir_path( __FILE__ ) );
/**
* Plugin Activation.
*
* @param bool $networkwide The networkwide.
*/
function powerkit_plugin_activation( $networkwide ) {
do_action( 'powerkit_plugin_activation', $networkwide );
}
register_activation_hook( __FILE__, 'powerkit_plugin_activation' );
/**
* Plugin Deactivation.
*
* @param bool $networkwide The networkwide.
*/
function powerkit_plugin_deactivation( $networkwide ) {
do_action( 'powerkit_plugin_deactivation', $networkwide );
}
register_deactivation_hook( __FILE__, 'powerkit_plugin_deactivation' );
/**
* Language
*/
load_plugin_textdomain( 'powerkit', false, plugin_basename( POWERKIT_PATH ) . '/languages' );
/**
* The core plugin class that is used to define internationalization,
* admin-specific hooks, and public-facing site hooks.
*/
require_once plugin_dir_path( __FILE__ ) . '/core/class-powerkit.php';