2011-07-12 00:37:07 +03:00
|
|
|
<?php
|
2013-05-12 15:57:18 +03:00
|
|
|
/**
|
|
|
|
* The WordPress Plugin Boilerplate.
|
|
|
|
*
|
|
|
|
* A foundation off of which to build well-documented WordPress plugins that also follow
|
|
|
|
* WordPress coding standards and PHP best practices.
|
|
|
|
*
|
|
|
|
* @package PluginName
|
|
|
|
* @author Your Name <email@example.com>
|
|
|
|
* @license GPL-2.0+
|
|
|
|
* @link TODO
|
|
|
|
* @version 1.0.0
|
|
|
|
*
|
|
|
|
* @wordpress-plugin
|
|
|
|
* Plugin Name: TODO
|
|
|
|
* Plugin URI: TODO
|
|
|
|
* Description: TODO
|
|
|
|
* Version: 1.0.0
|
|
|
|
* Author: TODO
|
|
|
|
* Author URI: TODO
|
|
|
|
* Author Email: TODO
|
|
|
|
* Text Domain: plugin-name-locale
|
|
|
|
* License: GPL-2.0+
|
|
|
|
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
|
|
|
|
* Domain Path: /lang/
|
|
|
|
*/
|
2011-07-12 00:37:07 +03:00
|
|
|
|
2013-05-12 00:38:50 +03:00
|
|
|
/**
|
|
|
|
* If this file is attempted to be accessed directly, we'll exit.
|
|
|
|
*
|
|
|
|
* The following check provides a level of security from other files
|
|
|
|
* that request data directly.
|
|
|
|
*/
|
|
|
|
if ( ! defined( 'ABSPATH' ) ) {
|
2013-05-12 01:16:47 +03:00
|
|
|
exit;
|
2013-05-12 00:38:50 +03:00
|
|
|
}
|
|
|
|
|
2013-05-12 15:57:18 +03:00
|
|
|
require_once( plugin_dir_path( __FILE__ ) . 'class-plugin-boilerplate.php' );
|
2012-07-14 05:14:34 +03:00
|
|
|
|
2013-05-12 16:18:27 +03:00
|
|
|
// TODO: replace PluginName with the name of the plugin defined in `class-plugin-boilerplate.php`
|
2013-05-08 05:11:51 +03:00
|
|
|
PluginName::get_instance();
|