| 1 |
<?php |
| 2 |
/* |
| 3 |
Plugin Name: VikWidgetsLoader |
| 4 |
Plugin URI: https://wordpress.org/plugins/vikwidgetsloader/ |
| 5 |
Description: Plugin used to load several Widgets. |
| 6 |
Version: 1.12.0 |
| 7 |
Author: E4J s.r.l. |
| 8 |
Author URI: https://vikwp.com |
| 9 |
License: GPL2 |
| 10 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html |
| 11 |
Text Domain: vikwidgetsloader |
| 12 |
Domain Path: /languages |
| 13 |
*/ |
| 14 |
|
| 15 |
defined('ABSPATH') or die('No script kiddies please!'); |
| 16 |
|
| 17 |
require dirname(__FILE__).DIRECTORY_SEPARATOR."autoload.php"; |
| 18 |
|
| 19 |
register_activation_hook(__FILE__, array('VikWidgetsLoaderInstaller', 'activatePlugin')); |
| 20 |
register_deactivation_hook( __FILE__, array('VikWidgetsLoaderInstaller', 'deactivatePlugin')); |
| 21 |
add_action('init', array('VikWidgetsLoaderInstaller', 'init')); |
| 22 |
add_action('widgets_init', function(){VikWidgetsLoaderHandler::LoadAll();}); |
| 23 |
|