-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.php
44 lines (39 loc) · 876 Bytes
/
config.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
<?php
/**
* Plugin configuration
*
* Defines constants used throughout the plugin files.
*
* @package User_Avatars
* @subpackage Configuration
* @category Core
* @since 1.0.0
*/
namespace User_Avatars;
// Restrict direct access.
if ( ! defined( 'ABSPATH' ) ) {
die;
}
/**
* Constant: Plugin version
*
* @since 1.0.0
* @var string The latest plugin version.
*/
define( 'UAP_VERSION', '1.0.0' );
/**
* Constant: Plugin folder path
*
* @since 1.0.0
* @var string The filesystem directory path (with trailing slash)
* for the plugin __FILE__ passed in.
*/
define( 'UAP_PATH', plugin_dir_path( __FILE__ ) );
/**
* Constant: Plugin folder URL
*
* @since 1.0.0
* @var string The URL directory path (with trailing slash)
* for the plugin __FILE__ passed in.
*/
define( 'UAP_URL', plugin_dir_url(__FILE__ ) );