-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathplugin.php
More file actions
37 lines (28 loc) · 833 Bytes
/
plugin.php
File metadata and controls
37 lines (28 loc) · 833 Bytes
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
<?php
/**
* Plugin Name: GravityView Mod: __description__
* Plugin URI: https://github.com/katzwebservices/gv-snippets/tree/__ID__
* Description: __description__
* Version: 1.0
* Author: GravityView
* Author URI: https://gravityview.co
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
*/
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ){
die;
}
class GV_Snippet___ID__ {
public static $ID = __ID__;
private static $_instance = null;
public static function instance(){
if ( ! ( self::$_instance instanceof self ) ) {
self::$_instance = new self();
}
return self::$_instance;
}
public function __construct(){
}
}
add_action( 'plugins_loaded', array( 'GV_Snippet___ID__', 'instance' ), 15 );