-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathwp-asciinema.php
34 lines (30 loc) · 1010 Bytes
/
wp-asciinema.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
<?php
/**
* The WP Asciinema plugin bootstrap file
*
* This file is read by WordPress to generate the plugin information in the plugin
* admin area. This file also includes all of the dependencies used by the plugin,
* registers the activation and deactivation functions, and defines a function
* that starts the plugin.
*
* @link http://passionsplay.com
* @since 0.0.1
* @package WP_Asciinema
*
* @wordpress-plugin
* Plugin Name: WP Asciinema
* Description: Displays terminal sessions recorded using Asciinema.
* Version: 0.0.2
* Author: Benjamin Turner
* Author URI: http://passionsplay.com
* Plugin URI: http://passionsplay.com/plugins/wp-asciinema
* Text Domain: wp-asciinema
* Domain Path: /languages
*/
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
}
require __DIR__ . '/src/loader.php';
$wp_asciinema = new WP_Asciinema_Plugin;
$wp_asciinema->init();