-
Notifications
You must be signed in to change notification settings - Fork 1
/
ig-syntax-hiliter.php
35 lines (27 loc) · 962 Bytes
/
ig-syntax-hiliter.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
<?php
/*
Plugin Name: iG:Syntax Hiliter
Plugin URI: https://igeek.info/category/wp-plugins/igsyntax-hiliter/
Description: Syntax Highlighter plugin to colourise source code for various supported programming languages. See the <a href="https://github.com/coolamit/ig-syntax-hiliter/blob/master/README.md">documentation</a> for more instructions.
Version: 5.1
Author: Amit Gupta
Author URI: https://igeek.info/
License: GPL v2
*/
define( 'IG_SYNTAX_HILITER_VERSION', 5.1 );
define( 'IG_SYNTAX_HILITER_ROOT', __DIR__ );
define( 'IG_SYNTAX_HILITER_URL', plugins_url( '/' ) );
define( 'IG_SYNTAX_HILITER_BASENAME', plugin_basename( __FILE__ ) );
//set loader to execute on WP init
add_action( 'init', 'ig_syntax_hiliter_loader' );
function ig_syntax_hiliter_loader() {
/*
* Load the Gatekeeper
*/
require_once __DIR__ . '/classes/ig-syntax-hiliter-gatekeeper.php';
/*
* Activate the Gatekeeper
*/
iG_Syntax_Hiliter_Gatekeeper::activate();
}
//EOF