Second Pass
This commit is contained in:
54
partnerexpo-core.php
Normal file
54
partnerexpo-core.php
Normal file
@@ -0,0 +1,54 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @link https://github.com/Duskell
|
||||
* @since 1.0.0
|
||||
* @package Partnerexpo_Core
|
||||
*
|
||||
* @wordpress-plugin
|
||||
* Plugin Name: PartnerExpo Core
|
||||
* Plugin URI: https://partnerexpo.eu
|
||||
* Description: A PartnerEXPO oldal belső pluginja
|
||||
* Version: 1.0.0
|
||||
* Author: Juhász Levente
|
||||
* Author URI: https://github.com/Duskell/
|
||||
* License: GPL-2.0+
|
||||
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
|
||||
* Text Domain: partnerexpo-core
|
||||
* Domain Path: /languages
|
||||
*/
|
||||
|
||||
// If this file is called directly, abort.
|
||||
if ( ! defined( 'WPINC' ) ) {
|
||||
die;
|
||||
}
|
||||
|
||||
define( 'PARTNEREXPO_CORE_VERSION', '1.0.0' );
|
||||
|
||||
function activate_partnerexpo_core() {
|
||||
require_once plugin_dir_path( __FILE__ ) . 'includes/class-partnerexpo-core-activator.php';
|
||||
Partnerexpo_Core_Activator::activate();
|
||||
}
|
||||
|
||||
function deactivate_partnerexpo_core() {
|
||||
require_once plugin_dir_path( __FILE__ ) . 'includes/class-partnerexpo-core-deactivator.php';
|
||||
Partnerexpo_Core_Deactivator::deactivate();
|
||||
}
|
||||
|
||||
register_activation_hook( __FILE__, 'activate_partnerexpo_core' );
|
||||
register_deactivation_hook( __FILE__, 'deactivate_partnerexpo_core' );
|
||||
|
||||
require plugin_dir_path( __FILE__ ) . 'includes/class-partnerexpo-core.php';
|
||||
|
||||
/**
|
||||
* Begins execution of the plugin.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
function run_partnerexpo_core() {
|
||||
|
||||
$plugin = new Partnerexpo_Core();
|
||||
$plugin->run();
|
||||
|
||||
}
|
||||
run_partnerexpo_core();
|
||||
Reference in New Issue
Block a user