-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsubpages-extended-core.php
56 lines (43 loc) · 1.37 KB
/
subpages-extended-core.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
45
46
47
48
49
50
51
52
<?php
if ( ! defined( 'ABSPATH' ) ) {
die( 'Invalid request.' );
}
global $subpages_extended;
require_once( MS_SE_PLUGIN_PATH . 'inc/class-wpa-plugin.php' );
$subpages_extended = new WPA_Plugin(
'Subpages Extended',
'subpages-extended',
MS_SE_PLUGIN_PATH
);
$subpages_extended_options = array(
array(
"name" => "General",
"label" => __("General"),
"type" => "section"
),
array( "name" => "Auto Insert",
"desc" => "Enables automatic insert of subpage indexes on blank pages",
"id" => "auto-insert",
"std" => "on",
"type" => "checkbox"),
array( "type" => "close" )
);
$subpages_extended->options = $subpages_extended_options;
$subpages_extended->options_nav = array(
array(
'label' => 'Plugin Page',
'link' => 'https://wpassist.me/plugins/subpages-widget/'
),
array(
'label' => 'Usage',
'link' => 'https://wpassist.me/docs/subpages-extended-help/'
),
array(
'label' => 'Shortcode',
'link' => 'https://wpassist.me/docs/subpages-extended-shortcode/'
),
array(
'label' => 'Donate',
'link' => 'https://wpassist.me/donate/'
)
);