PluginProbe
WP Coder – Insert & Manage Code Snippets / 3.0.1
WP Coder – Insert & Manage Code Snippets v3.0.1
4.5.1 1.1 2.3.1 2.3.2 2.4.1 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 2.5.6 3.0 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.1 3.1.1 3.2 3.2.1 3.3 3.4 3.5 3.5.1 All 39 releases
wp-coder / includes / pages / 2.settings.php

2.settings.php in WP Coder – Insert & Manage Code Snippets 3.0.1, at includes/pages/2.settings.php

55 lines 1.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 * Page Name: Add New
4 */
5
6 use WPCoder\Dashboard\Field;
7 use WPCoder\Dashboard\Settings;
8 use WPCoder\WOW_Plugin;
9
10 defined( 'ABSPATH' ) || exit;
11
12 $default = Field::getDefault();
13
14 ?>
15
16 <form action="" id="wowp-settings" class="wowp-settings" method="post">
17
18 <div id="poststuff">
19 <div id="post-body" class="metabox-holder columns-2">
20 <div id="post-body-content">
21
22 <div id="titlediv">
23
24 <div id="titlewrap">
25 <label class="screen-reader-text" id="title-prompt-text"
26 for="title"><?php esc_html_e( 'Enter title here', 'wpcoder' ); ?></label>
27 <?php Field::text( 'title' ); ?>
28 </div>
29
30 </div>
31 </div>
32
33 <!-- Sidebar with the setting-->
34 <div id="postbox-container-1" class="postbox-container">
35 <?php require_once plugin_dir_path(__FILE__) . 'sidebar.php';?>
36 </div>
37
38 <div id="postoptions">
39 <div id="postbox-container-2" class="postbox-container wowp-settings-wrapper">
40 <?php Settings::init(); ?>
41 </div>
42 </div>
43 </div>
44
45 </div>
46
47 <input type="hidden" name="tool_id" value="<?php echo absint( $default['id'] ); ?>" id="tool_id"/>
48 <input type="hidden" name="param[time]" value="<?php echo esc_attr( time() ); ?>"/>
49 <?php wp_nonce_field( WOW_Plugin::PREFIX . '_nonce', WOW_Plugin::PREFIX . '_settings' ); ?>
50
51 </form>
52
53
54 <?php
55