-
Notifications
You must be signed in to change notification settings - Fork 0
/
link.php
44 lines (39 loc) · 965 Bytes
/
link.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
<?php
/**
* Link
*
* @link https://github.com/19h47/link
* @since 1.0.0
* @package Link
*
* @wordpress-plugin
* Plugin Name: Link
* Plugin URI: https://github.com/19h47/link
* Description: Enables a Link, taxonomy and metaboxes. Bring back to life blogroll! 🔗
* Version: 3.0.0
* Author: Jérémy Levron
* Author URI: https://www.19h47.fr
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
* Text Domain: Link
*/
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
}
require_once dirname( __FILE__ ) . '/vendor/autoload.php';
use Link\{ Link };
/**
* Begins execution of the plugin.
*
* Since everything within the plugin is registered via hooks,
* then kicking off the plugin from this point in the file does
* not affect the page life cycle.
*
* @since 1.0.0
*/
function run_link() {
$plugin = new Link();
$plugin->run();
}
run_link(); // Run, Forrest, run!