first commit
This commit is contained in:
59
wp-content/plugins/em-helper-plugin/index.php
Normal file
59
wp-content/plugins/em-helper-plugin/index.php
Normal file
@@ -0,0 +1,59 @@
|
||||
<?php
|
||||
/*
|
||||
* Plugin Name: cyber Helper Plugin
|
||||
* Plugin URI: http://webitkurigram.com/wp/cyber/wp-content/plugins/em-helper-plugin.zip
|
||||
* Description: This plugin is mandatory for cyber theme.
|
||||
* Version: 1.0
|
||||
* Author: EM40
|
||||
* Author URI: https://themeforest.net/user/em40
|
||||
* Text Domain: cyber
|
||||
* Domain Path: /languages/
|
||||
*/
|
||||
|
||||
// Secure it
|
||||
if ( ! defined( 'ABSPATH' ) ) exit;
|
||||
|
||||
// define constants
|
||||
define( 'EM40_EXTENSION_DIR' , trailingslashit( plugin_dir_path( __FILE__ ) ) );
|
||||
define( 'EM40_EXTENSION_URI' , trailingslashit( plugin_dir_url( __FILE__ ) ) );
|
||||
|
||||
|
||||
|
||||
|
||||
// Load plugin class files
|
||||
|
||||
/**----------------------------------------------------------------*/
|
||||
/* Include all file
|
||||
/*-----------------------------------------------------------------*/
|
||||
require_once(EM40_EXTENSION_DIR. '/widgets/em_about.php');;
|
||||
require_once(EM40_EXTENSION_DIR. '/widgets/em_recent_post.php');;
|
||||
require_once(EM40_EXTENSION_DIR. '/widgets/em_footer_portfolio.php');;
|
||||
require_once(EM40_EXTENSION_DIR. '/includes/metabox/em-metabox.php');;
|
||||
require_once(EM40_EXTENSION_DIR. '/includes/kc-shortcode-own.php');
|
||||
|
||||
|
||||
|
||||
|
||||
// Instantiate Plugin
|
||||
if ( !function_exists('em40_extension_init') ) {
|
||||
function em40_extension_init() {
|
||||
|
||||
global $em40_extention;
|
||||
|
||||
// Localization
|
||||
load_plugin_textdomain('brevery', FALSE, dirname(plugin_basename(__FILE__)) . "/languages");
|
||||
|
||||
}
|
||||
}
|
||||
add_action( 'plugins_loaded', 'em40_extension_init' );
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user