forked from kunalb/EventPress
-
Notifications
You must be signed in to change notification settings - Fork 0
/
constants.php
executable file
·46 lines (31 loc) · 1.14 KB
/
constants.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
40
41
42
43
44
45
46
<?php
/**#@+
* Constants
*/
/** Plugin Folder */
define( 'EP_FOLDER', 'eventpress' );
/** Plugin Directory */
define( 'EP_DIR', WP_PLUGIN_DIR . '/' . EP_FOLDER );
/** Hand written basename to avoid soft linking issues */
define( 'EP_FILE', EP_FOLDER . '/eventpress.php' );
/** The current version of the plugin */
define( 'EP_VERSION', '0.2-bleeding' );
/** The URL of the plugin */
define( 'EP_URL', plugins_url( 'eventpress' ) );
/** Resources URL */
define( 'EP_RESOURCES_URL', EP_URL . '/resources' );
/** CSS resources directory */
define( 'EP_STYLES_URL', EP_RESOURCES_URL . '/css' );
/** Images resources directory */
define( 'EP_IMAGES_URL', EP_RESOURCES_URL . '/images' );
/** Scripts resources directory */
define( 'EP_SCRIPTS_URL', EP_RESOURCES_URL . '/js' );
/** The default slug for an event. */
define( 'EP_EVENT_SLUG', 'event' );
/** The i18n version */
define( 'EP_EVENT_I18N_SLUG', _x( 'event', 'Translated slug', 'eventpress' ) );
/** The default slug for events. */
define( 'EP_EVENTS_SLUG', 'events' );
/** The i18n version for events. */
define( 'EP_EVENTS_I18N_SLUG', _x( 'events', 'Translated slug', 'eventpress' ) );
/**#@-*/