Created
June 27, 2013 13:00
-
-
Save rockschtar/5876193 to your computer and use it in GitHub Desktop.
WordPress: Plugin Root/Header
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: Plugin name | |
Plugin URI: http://www.example.com | |
Description: Bla Bla | |
Author: Stevie | |
Version: 0.5 Beta | |
Author URI: http://www.example.de | |
*/ | |
define("CAPL_PLUGIN", plugin_basename(__FILE__)); | |
define("CAPL_PLUGIN_DIR", plugin_dir_path(__FILE__)); | |
define("CAPL_PLUGIN_URL", plugin_dir_url(__FILE__)); | |
define("CAPL_PLUGIN_RELATIVE_DIR", dirname(plugin_basename(__FILE__))); | |
define("CAPL_PLUGIN_FILE", __FILE__); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment