-
Notifications
You must be signed in to change notification settings - Fork 1
/
constants.php
55 lines (30 loc) · 906 Bytes
/
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
<?php
/**
* Constants for Invalid Login Redirect
*
* @since 1.0.0
*/
if ( ! defined( 'ILR_VERSION' ) ) {
define( 'ILR_VERSION', '1.0.0' );
}
if ( ! defined( 'ILR_PATH' ) ) {
define( 'ILR_PATH', plugin_dir_path( __FILE__ ) );
}
if ( ! defined( 'ILR_URL' ) ) {
define( 'ILR_URL', plugin_dir_url( __FILE__ ) );
}
if ( ! defined( 'ILR_MODULES' ) ) {
define( 'ILR_MODULES', plugin_dir_path( __FILE__ ) . 'modules/' );
}
if ( ! defined( 'ILR_IMAGES' ) ) {
define( 'ILR_IMAGES', plugin_dir_url( __FILE__ ) . 'lib/images/' );
}
if ( ! defined( 'ILR_STYLE_SUFFIX' ) ) {
define( 'ILR_STYLE_SUFFIX', ( ( is_rtl() ? '-rtl' : '' ) . ( WP_DEBUG ? '' : '.min' ) ) );
}
if ( ! defined( 'ILR_SCRIPT_SUFFIX' ) ) {
define( 'ILR_SCRIPT_SUFFIX', ( WP_DEBUG ? '' : '.min' ) );
}
if ( ! defined( 'INVALID_LOGIN_REDIRECT_DEVELOPER' ) ) {
define( 'INVALID_LOGIN_REDIRECT_DEVELOPER', false );
}