Skip to content

Instantly share code, notes, and snippets.

@solepixel
Created March 10, 2013 15:35
Show Gist options
  • Save solepixel/5129018 to your computer and use it in GitHub Desktop.
Save solepixel/5129018 to your computer and use it in GitHub Desktop.
<?php
/**
* Plugin Name: PluginName
* Plugin URI: http://websiteurl
* Description: Description
* Version: 1.0
* Author: Brian DiChiara
* Author URI: http://www.briandichiara.com
*/
define('PRFX_VERSION', '1.0');
define('PRFX_PI_NAME', 'PluginName');
define('PRFX_PI_DESCRIPTION', 'Description');
define('PRFX_OPT_PREFIX', 'prfx_');
define('PRFX_PATH', plugin_dir_path( __FILE__ ));
define('PRFX_DIR', plugin_dir_url( __FILE__ ));
require_once(PRFX_PATH.'classes/plugin.class.php');
global $prfx_plugin;
$prfx_plugin = new Plugin();
$prfx_plugin->initialize();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment