-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathembed-swagger.php
More file actions
43 lines (40 loc) · 1.25 KB
/
embed-swagger.php
File metadata and controls
43 lines (40 loc) · 1.25 KB
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
<?php
/**
* Contains the plugin's entry point.
*
* @package Embed_Swagger
*/
/*
* Plugin Name: Embed Swagger
* Description: Provides a shortcode for embedding Swagger specs into pages or posts.
* Version: 1.0.0
* Author: Grant Palin
* Author URI: https://grantpalin.com
* License: GPL-3.0
* License URI: http://www.gnu.org/licenses/gpl-3.0.txt
* Text Domain: embed-swagger
* Domain Path: /languages
*
* Embed Swagger is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* any later version.
*
*
* Embed Swagger is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Embed Swagger. If not, see
* http://www.gnu.org/licenses/gpl-3.0.txt.
*/
require_once __DIR__ . '/inc/class-embed-swagger.php';
/**
* Initializes the plugin.
*/
function embed_swagger_init() {
Embed_Swagger::get_instance();
}
add_action( 'init', 'embed_swagger_init' );