-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathwp-yes-example.php
41 lines (38 loc) · 1.36 KB
/
wp-yes-example.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
<?php
/**
* The 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 https://github.com/sofyansitorus
* @since 1.0.0
* @package WP_Yes
*
* Plugin Name: WP Yes Example
* Plugin URI: https://github.com/sofyansitorus/WordPress-Yet-Easy-Settings
* Description: This is sample for how to use WordPress-Yet-Easy-Settings in a plugin.
* Version: 1.0.0
* Author: Sofyan Sitorus
* Author URI: https://github.com/sofyansitorus
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
* Text Domain: wp_yes_txt
* Domain Path: /languages
*/
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
}
// Autoload Dependencies.
require 'vendor/autoload.php';
require_once 'example/all.php';
require_once 'example/button.php';
require_once 'example/tabs.php';
require_once 'example/help-tabs.php';
require_once 'example/custom-tab-content.php';
require_once 'example/custom-page-content.php';
require_once 'example/sub-menu.php';
require_once 'example/sub-menu-under-tools.php';