-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsnapcode.php
More file actions
26 lines (22 loc) · 723 Bytes
/
snapcode.php
File metadata and controls
26 lines (22 loc) · 723 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
<?php
/**
* Plugin Name: SnapCode
* Description: Run WordPress code instantly without a code editor
* Author: haruncpi
* Version: 1.2.0
* Author URI: https://github.com/haruncpi
* Requires PHP: 7.4
* Requires at least: 5.3
* Tested up to: 6.8
* License: GPLv2 or later
*
* @package SnapCode
*/
use SnapCode\Plugin;
require_once __DIR__ . '/vendor/autoload.php';
define( 'SNAPCODE_VERSION', '1.2.0' );
define( 'SNAPCODE_FILE', __DIR__ . '/snapcode.php' );
define( 'SNAPCODE_DIR', plugin_dir_path( __FILE__ ) );
define( 'SNAPCODE_URL', plugin_dir_url( __FILE__ ) );
define( 'SNAPCODE_UPDATE_URL', 'https://raw.githubusercontent.com/haruncpi/snapcode/master/src/Updater/plugin.json' );
Plugin::get_instance();