-
Notifications
You must be signed in to change notification settings - Fork 0
/
loading-logo.php
62 lines (52 loc) · 1.2 KB
/
loading-logo.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
58
59
60
61
62
<?php
/**
* Plugin Name: LoadingLogo
* Plugin URI: http://WPTie.com/
* Description: LoadingLogo adds your logo with cool effects while the page loads itself.
* Author: mrahmadawais, ashar, WPTie
* Author URI: http://WPTie.com/
* Text Domain: loading-logo
* Version: 0.0.9
* License: GPL v2+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
*
* @package llogo
*
*/
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
}
/**
* Define global constants
*
* @package llogo
* @since 0.0.1
*
*/
// Plugin version
if ( ! defined( 'LL_VERSION' ) ) {
define( 'LL_VERSION', '0.0.9' );
}
if ( ! defined( 'LL_NAME' ) ) {
define( 'LL_NAME', trim( dirname( plugin_basename( __FILE__ ) ), '/' ) );
}
if ( ! defined('LL_DIR' ) ) {
define( 'LL_DIR', WP_PLUGIN_DIR . '/' . LL_NAME );
}
if ( ! defined('LL_URL' ) ) {
define( 'LL_URL', WP_PLUGIN_URL . '/' . LL_NAME );
}
// Assets Path
$ll_assets = LL_URL . '/assets/';
/**
* LoadingLogo Main File
*
* This is the main file of LoadingLogo which controls everything in this plugin
*
* @since 0.0.1
*
*/
if ( file_exists( LL_DIR . '/assets/inc/ll.php' ) ) {
require_once( LL_DIR . '/assets/inc/ll.php' );
}