-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconstants.php
57 lines (42 loc) · 1 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
47
48
49
50
51
52
53
54
55
56
57
<?php
/**
* Constants for the Timeline Express HTML Excerpts Add-on
*
* @since 1.0.0
*/
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
}
/**
* Define the version number
*
* @since 1.0.0
*/
if ( ! defined( 'TIMELINE_EXPRESS_HTML_EXCERPT_VERSION' ) ) {
define( 'TIMELINE_EXPRESS_HTML_EXCERPT_VERSION', '1.1.0' );
}
/**
* Define the path to the plugin
*
* @since 1.0.0
*/
if ( ! defined( 'TIMELINE_EXPRESS_HTML_EXCERPT_PATH' ) ) {
define( 'TIMELINE_EXPRESS_HTML_EXCERPT_PATH', plugin_dir_path( __FILE__ ) );
}
/**
* Define the url to the plugin
*
* @since 1.0.0
*/
if ( ! defined( 'TIMELINE_EXPRESS_HTML_EXCERPT_URL' ) ) {
define( 'TIMELINE_EXPRESS_HTML_EXCERPT_URL', plugin_dir_url( __FILE__ ) );
}
/**
* Define the plugin basename
*
* @since 1.0.0
*/
if ( ! defined( 'TIMELINE_EXPRESS_PLUGIN_BASENAME' ) ) {
define( 'TIMELINE_EXPRESS_PLUGIN_BASENAME', plugin_basename( 'timeline-express-html-excerpts-add-on/timeline-express-html-excerpts-add-on.php' ) );
}