-
Notifications
You must be signed in to change notification settings - Fork 3
/
functionality-plugin.php
39 lines (33 loc) · 1.03 KB
/
functionality-plugin.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php
/**
* Plugin Name: Functionality Plugin
* Plugin URI: http://www.doitwithwp.com/putting-things-where-they-belong/
* Description: Where all custom functionality that affects the site belongs
* Author: Dave Clements
* Author URI: https://www.theukedge.com
* Version: 1.0.0
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
*
* @package Functionality Plugin
*/
/** -------------------------------- *
* constants
*
* Some useful constants for a plugin to make use of.
* -------------------------------- */
if ( ! defined( 'FUNC_PLUGIN_DIR' ) ) {
define( 'FUNC_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
}
if ( ! defined( 'FUNC_PLUGIN_URL' ) ) {
define( 'FUNC_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
}
if ( ! defined( 'FUNC_PLUGIN_VERSION' ) ) {
define( 'FUNC_PLUGIN_VERSION', '1.0.0' );
}
/** -------------------------------- *
* includes
*
* Individual feature includes go here.
* ---------------------------------- */
/* include( FUNC_PLUGIN_DIR . 'includes/filename.php' ); */