| 1 |
<?php |
| 2 |
|
| 3 |
/* |
| 4 |
Plugin Name: Virtue ToolKit |
| 5 |
Description: Custom Portfolio and Shortcode functionality for Virtue Theme |
| 6 |
Version: 1.4 |
| 7 |
Author: Kadence Themes |
| 8 |
Author URI: http://kadencethemes.com/ |
| 9 |
License: GPLv2 or later |
| 10 |
*/ |
| 11 |
function virtue_toolkit_activation() { |
| 12 |
} |
| 13 |
register_activation_hook(__FILE__, 'virtue_toolkit_activation'); |
| 14 |
|
| 15 |
function virtue_toolkit_deactivation() { |
| 16 |
} |
| 17 |
register_deactivation_hook(__FILE__, 'virtue_toolkit_deactivation'); |
| 18 |
|
| 19 |
require_once('post-types.php'); |
| 20 |
require_once('shortcodes.php'); |
| 21 |
require_once('shortcode_ajax.php'); |
| 22 |
|
| 23 |
if(!defined('VIRTUE_TOOLKIT_PATH')){ |
| 24 |
define('VIRTUE_TOOLKIT_PATH', realpath(plugin_dir_path(__FILE__)) . DIRECTORY_SEPARATOR ); |
| 25 |
} |
| 26 |
if(!defined('VIRTUE_TOOLKIT_URL')){ |
| 27 |
define('VIRTUE_TOOLKIT_URL', plugin_dir_url(__FILE__) ); |
| 28 |
} |
| 29 |
|