From 0896f0836c0738f65fb2a66e72e89723093c36b1 Mon Sep 17 00:00:00 2001 From: Tom McFarlin Date: Wed, 30 Apr 2014 22:55:34 -0400 Subject: [PATCH] defining the core shared plugin name this file is used to be shared between the dashboard and public-facing functionality. it's hooks should be defined in the specific loader --- .../trunk/includes/class-plugin-name.php | 34 +++++++++++++++---- 1 file changed, 28 insertions(+), 6 deletions(-) diff --git a/plugin-name/trunk/includes/class-plugin-name.php b/plugin-name/trunk/includes/class-plugin-name.php index 7fe8abe..951a482 100644 --- a/plugin-name/trunk/includes/class-plugin-name.php +++ b/plugin-name/trunk/includes/class-plugin-name.php @@ -1,16 +1,38 @@ + */ + +/** + * @TODO + * Short description (no period for file headers) * - * @package WordPress - * @subpackage Component + * Long description. + * + * @package TODO + * @author Your Name + * @license GPL-2.0+ + * @link http://example.com + * @copyright 2014 Your Name or Company Name */ class Plugin_Name { + /** + * This class is used to define common functionality that exists between + * both the dashboard and the public-facing side of the website. + * + * If any hooks are defined in this class, then they should be defined + * in their respective Loader classes (that is, Plugin_Name_Admin_Loader + * or Plugin_Name_Loader). + * + * An instance of this class should then be passed to the loader + */ + }