folders
Last commit date
assets
7 years ago
includes
7 years ago
templates
7 years ago
folders.php
7 years ago
readme.txt
7 years ago
folders.php
22 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Plugin Name: Folders |
| 4 | * Description: Arrange media, pages, custom post types and posts into folders |
| 5 | * Version: 2.1.2 |
| 6 | * Author: Premio |
| 7 | * Author URI: https://premio.io/downloads/folders/ |
| 8 | */ |
| 9 | |
| 10 | defined('ABSPATH') or die('Nope, not accessing this'); |
| 11 | |
| 12 | define('WCP_FOLDERS_PLUGIN_FILE', __FILE__ ); |
| 13 | define('WCP_FOLDERS_PLUGIN_BASE', plugin_basename(WCP_FOLDERS_PLUGIN_FILE ) ); |
| 14 | define('WCP_FOLDER', 'folders'); |
| 15 | define('WCP_FOLDER_VAR', 'folders_settings'); |
| 16 | define("WCP_DS", DIRECTORY_SEPARATOR); |
| 17 | define('WCP_FOLDER_URL',plugin_dir_url(__FILE__)); |
| 18 | define('WCP_FOLDER_VERSION',"2.1.2"); |
| 19 | |
| 20 | include_once plugin_dir_path(__FILE__)."includes/folders.class.php"; |
| 21 | register_activation_hook( __FILE__, array( 'WCP_Folders', 'activate' ) ); |
| 22 | WCP_Folders::get_instance(); |