本文整理汇总了PHP中Redux_Functions::_parent方法的典型用法代码示例。如果您正苦于以下问题:PHP Redux_Functions::_parent方法的具体用法?PHP Redux_Functions::_parent怎么用?PHP Redux_Functions::_parent使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Redux_Functions
的用法示例。
在下文中一共展示了Redux_Functions::_parent方法的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: __construct
public function __construct($parent)
{
$this->parent = $parent;
Redux_Functions::$_parent = $parent;
$this->min = Redux_Functions::isMin();
$this->timestamp = ReduxFramework::$_version;
if ($parent->args['dev_mode']) {
$this->timestamp .= '.' . time();
}
$this->register_styles();
$this->register_scripts();
add_thickbox();
$this->enqueue_fields();
$this->set_localized_data();
/**
* action 'redux-enqueue-{opt_name}'
*
* @deprecated
*
* @param object $this ReduxFramework
*/
do_action("redux-enqueue-{$parent->args['opt_name']}", $parent);
// REMOVE
/**
* action 'redux/page/{opt_name}/enqueue'
*/
do_action("redux/page/{$parent->args['opt_name']}/enqueue");
}
示例2: __construct
public function __construct($parent)
{
$this->parent = $parent;
Redux_Functions::$_parent = $parent;
$this->template_path = $this->original_path = ReduxFramework::$_dir . 'templates/panel/';
$this->template_path = trailingslashit(apply_filters("redux/{$this->parent->args['opt_name']}/panel/templates_path", $this->template_path));
$this->panel_template();
}
示例3: __construct
public function __construct($parent)
{
$this->parent = $parent;
Redux_Functions::$_parent = $parent;
/**
* action 'redux/page/{opt_name}/'
*/
do_action("redux/page/{$parent->args['opt_name']}/");
}
示例4: __construct
public function __construct($parent)
{
$this->parent = $parent;
Redux_Functions::$_parent = $parent;
}
示例5: __construct
/**
* Class Constructor. Defines the args for the theme options class
*
* @since 1.0.0
*
* @param array $sections Panel sections.
* @param array $args Class constructor arguments.
* @param array $extra_tabs Extra panel tabs. // REMOVE
*
* @return \ReduxFramework
*/
public function __construct($sections = array(), $args = array(), $extra_tabs = array())
{
// Disregard WP AJAX 'heartbeat'call. Why waste resources?
if (isset($_POST) && isset($_POST['action']) && $_POST['action'] == 'heartbeat') {
// Hook, for purists.
if (!has_action('redux/ajax/heartbeat')) {
do_action('redux/ajax/heartbeat', $this);
}
// Buh bye!
return;
}
// Pass parent pointer to function helper.
Redux_Functions::$_parent = $this;
// Set values
$this->set_default_args();
$this->args = wp_parse_args($args, $this->args);
if (empty($this->args['transient_time'])) {
$this->args['transient_time'] = 60 * MINUTE_IN_SECONDS;
}
if (empty($this->args['footer_credit'])) {
$this->args['footer_credit'] = '<span id="footer-thankyou">' . sprintf(__('Options panel created using %1$s', 'redux-framework'), '<a href="' . esc_url($this->framework_url) . '" target="_blank">' . __('Redux Framework', 'redux-framework') . '</a> v' . self::$_version) . '</span>';
}
if (empty($this->args['menu_title'])) {
$this->args['menu_title'] = __('Options', 'redux-framework');
}
if (empty($this->args['page_title'])) {
$this->args['page_title'] = __('Options', 'redux-framework');
}
/**
* filter 'redux/args/{opt_name}'
*
* @param array $args ReduxFramework configuration
*/
$this->args = apply_filters("redux/args/{$this->args['opt_name']}", $this->args);
/**
* filter 'redux/options/{opt_name}/args'
*
* @param array $args ReduxFramework configuration
*/
$this->args = apply_filters("redux/options/{$this->args['opt_name']}/args", $this->args);
// Do not save the defaults if we're on a live preview!
if ($GLOBALS['pagenow'] == "customize" && isset($_GET['theme']) && !empty($_GET['theme'])) {
$this->args['save_defaults'] = false;
}
if (!empty($this->args['opt_name'])) {
/**
* SHIM SECTION
* Old variables and ways of doing things that need correcting. ;)
* */
// Variable name change
if (!empty($this->args['page_cap'])) {
$this->args['page_permissions'] = $this->args['page_cap'];
unset($this->args['page_cap']);
}
if (!empty($this->args['page_position'])) {
$this->args['page_priority'] = $this->args['page_position'];
unset($this->args['page_position']);
}
if (!empty($this->args['page_type'])) {
$this->args['menu_type'] = $this->args['page_type'];
unset($this->args['page_type']);
}
// Get rid of extra_tabs! Not needed.
if (is_array($extra_tabs) && !empty($extra_tabs)) {
foreach ($extra_tabs as $tab) {
array_push($this->sections, $tab);
}
}
// Move to the first loop area!
/**
* filter 'redux-sections'
*
* @deprecated
*
* @param array $sections field option sections
*/
$this->sections = apply_filters('redux-sections', $sections);
// REMOVE LATER
/**
* filter 'redux-sections-{opt_name}'
*
* @deprecated
*
* @param array $sections field option sections
*/
$this->sections = apply_filters("redux-sections-{$this->args['opt_name']}", $this->sections);
// REMOVE LATER
/**
* filter 'redux/options/{opt_name}/sections'
//.........这里部分代码省略.........
示例6: _enqueue
/**
* Enqueue CSS/JS for options page
*
* @since 1.0.0
* @access public
* @global $wp_styles
* @return void
*/
public function _enqueue()
{
global $wp_styles;
Redux_Functions::$_parent = $this;
$min = Redux_Functions::isMin();
// Select2 business. Fields: Background, Border, Dimensions, Select, Slider, Typography
$field_arr = array('background', 'border', 'dimensions', 'select', 'select_image', 'slider', 'spacing', 'typography', 'color_scheme', 'css_layout');
if (Redux_Helpers::isFieldInUseByType($this->fields, $field_arr)) {
// select2 CSS
wp_register_style('select2-css', self::$_url . 'assets/js/vendor/select2/select2.css', array(), filemtime(self::$_dir . 'assets/js/vendor/select2/select2.css'), 'all');
wp_enqueue_style('select2-css');
// JS
wp_register_script('redux-select2-sortable-js', self::$_url . 'assets/js/vendor/redux.select2.sortable' . $min . '.js', array('jquery'), filemtime(self::$_dir . 'assets/js/vendor/redux.select2.sortable' . $min . '.js'), true);
wp_register_script('select2-js', self::$_url . 'assets/js/vendor/select2/select2.min.js', array('jquery', 'redux-select2-sortable-js'), filemtime(self::$_dir . 'assets/js/vendor/select2/select2.min.js'), true);
wp_enqueue_script('select2-js');
}
redux_enqueue_style($this, 'redux-admin-css', self::$_url . 'assets/css/redux-admin.css', self::$_dir . 'assets/css/', array('farbtastic'), time(), 'all');
// wp_enqueue_style(
// 'redux-css',
// self::$_url . 'assets/css/redux.css',
// array( 'farbtastic' ),
// filemtime( self::$_dir . 'assets/css/redux.css' ),
// 'all'
// );
//
// wp_register_style(
// 'admin-css',
// self::$_url . 'assets/css/admin.css',
// array( 'farbtastic' ),
// filemtime( self::$_dir . 'assets/css/admin.css' ),
// 'all'
// );
wp_register_style('redux-elusive-icon', self::$_url . 'assets/css/vendor/elusive-icons/elusive-webfont.css', array(), filemtime(self::$_dir . 'assets/css/vendor/elusive-icons/elusive-webfont.css'), 'all');
wp_register_style('redux-elusive-icon-ie7', self::$_url . 'assets/css/vendor/elusive-icons/elusive-webfont-ie7.css', array(), filemtime(self::$_dir . 'assets/css/vendor/elusive-icons/elusive-webfont-ie7.css'), 'all');
wp_register_style('qtip-css', self::$_url . 'assets/css/vendor/qtip/jquery.qtip.css', array(), filemtime(self::$_dir . 'assets/css/vendor/qtip/jquery.qtip.css'), 'all');
$wp_styles->add_data('redux-elusive-icon-ie7', 'conditional', 'lte IE 7');
/**
* jQuery UI stylesheet src
* filter 'redux/page/{opt_name}/enqueue/jquery-ui-css'
*
* @param string bundled stylesheet src
*/
wp_register_style('jquery-ui-css', apply_filters("redux/page/{$this->args['opt_name']}/enqueue/jquery-ui-css", self::$_url . 'assets/css/vendor/jquery-ui-bootstrap/jquery-ui-1.10.0.custom.css'), '', filemtime(self::$_dir . 'assets/css/vendor/jquery-ui-bootstrap/jquery-ui-1.10.0.custom.css'), 'all');
wp_enqueue_style('jquery-ui-css');
wp_enqueue_style('redux-lte-ie8');
wp_enqueue_style('qtip-css');
wp_enqueue_style('redux-elusive-icon');
wp_enqueue_style('redux-elusive-icon-ie7');
if (is_rtl()) {
wp_register_style('redux-rtl-css', self::$_url . 'assets/css/rtl.css', array('redux-css'), filemtime(self::$_dir . 'assets/css/rtl.css'), 'all');
wp_enqueue_style('redux-rtl-css');
}
wp_enqueue_script('jquery');
wp_enqueue_script('jquery-ui-core');
wp_enqueue_script('jquery-ui-dialog');
// Load jQuery sortable for slides, sorter, sortable and group
if (Redux_Helpers::isFieldInUseByType($this->fields, array('slides', 'sorter', 'sortable', 'group'))) {
wp_enqueue_script('jquery-ui-sortable');
wp_enqueue_style('jquery-ui-sortable');
}
// Load jQuery UI Datepicker for date
if (Redux_Helpers::isFieldInUseByType($this->fields, array('date', 'datetime'))) {
wp_enqueue_script('jquery-ui-datepicker');
}
// Load jQuery UI Accordion for slides and group
if (Redux_Helpers::isFieldInUseByType($this->fields, array('slides', 'group'))) {
wp_enqueue_script('jquery-ui-accordion');
}
// Load wp-color-picker for color, color_gradient, link_color, border, background and typography
if (Redux_Helpers::isFieldInUseByType($this->fields, array('background', 'color', 'color_gradient', 'link_color', 'border', 'typography', 'css_layout'))) {
redux_enqueue_style($this, 'redux-color-picker-css', ReduxFramework::$_url . 'assets/css/color-picker/color-picker.css', ReduxFramework::$_dir . 'assets/css/color-picker', array(), time(), false);
// wp_enqueue_style(
// 'redux-color-picker-css',
// self::$_url . 'assets/css/color-picker/color-picker.css',
// array( 'wp-color-picker' ),
// filemtime( self::$_dir . 'assets/css/color-picker/color-picker.css' ),
// 'all'
// );
wp_enqueue_style('color-picker-css');
wp_enqueue_script('wp-color-picker');
wp_enqueue_style('wp-color-picker');
}
if (function_exists('wp_enqueue_media')) {
wp_enqueue_media();
} else {
wp_enqueue_script('media-upload');
}
add_thickbox();
wp_register_script('qtip-js', self::$_url . 'assets/js/vendor/qtip/jquery.qtip.js', array('jquery'), '2.2.0', true);
wp_register_script('serializeForm-js', self::$_url . 'assets/js/vendor/jquery.serializeForm.js', array('jquery'), '1.0.0', true);
// Embed the compress version unless in dev mode
// dev_mode = true
//.........这里部分代码省略.........
示例7: __construct
/**
* Class Constructor. Defines the args for the theme options class
*
* @since 1.0.0
*
* @param array $sections Panel sections.
* @param array $args Class constructor arguments.
* @param array $extra_tabs Extra panel tabs. // REMOVE
*
* @return \ReduxFramework
*/
public function __construct($sections = array(), $args = array(), $extra_tabs = array())
{
// Disregard WP AJAX 'heartbeat'call. Why waste resources?
if (isset($_POST) && isset($_POST['action']) && $_POST['action'] == 'heartbeat') {
// Hook, for purists.
if (!has_action('redux/ajax/heartbeat')) {
do_action('redux/ajax/heartbeat', $this);
}
// Buh bye!
return;
}
// Pass parent pointer to function helper.
Redux_Functions::$_parent = $this;
Redux_CDN::$_parent = $this;
// Set values
$this->set_default_args();
$this->args = wp_parse_args($args, $this->args);
if (empty($this->args['transient_time'])) {
$this->args['transient_time'] = 60 * MINUTE_IN_SECONDS;
}
if (empty($this->args['footer_credit'])) {
$this->args['footer_credit'] = '<span id="footer-thankyou">' . sprintf(__('Versão do tema: %1$s', 'redux-framework'), THEME_VERSION) . '</span>';
}
if (empty($this->args['menu_title'])) {
$this->args['menu_title'] = __('Options', 'redux-framework');
}
if (empty($this->args['page_title'])) {
$this->args['page_title'] = __('Options', 'redux-framework');
}
$this->old_opt_name = $this->args['opt_name'];
/**
* filter 'redux/args/{opt_name}'
*
* @param array $args ReduxFramework configuration
*/
$this->args = apply_filters("redux/args/{$this->args['opt_name']}", $this->args);
/**
* filter 'redux/options/{opt_name}/args'
*
* @param array $args ReduxFramework configuration
*/
$this->args = apply_filters("redux/options/{$this->args['opt_name']}/args", $this->args);
if ($this->args['opt_name'] == $this->old_opt_name) {
unset($this->old_opt_name);
}
// Do not save the defaults if we're on a live preview!
if ($GLOBALS['pagenow'] == "customize" && isset($_GET['theme']) && !empty($_GET['theme'])) {
$this->args['save_defaults'] = false;
}
if (!empty($this->args['opt_name'])) {
/**
* SHIM SECTION
* Old variables and ways of doing things that need correcting. ;)
* */
// Variable name change
if (!empty($this->args['page_cap'])) {
$this->args['page_permissions'] = $this->args['page_cap'];
unset($this->args['page_cap']);
}
if (!empty($this->args['page_position'])) {
$this->args['page_priority'] = $this->args['page_position'];
unset($this->args['page_position']);
}
if (!empty($this->args['page_type'])) {
$this->args['menu_type'] = $this->args['page_type'];
unset($this->args['page_type']);
}
// Get rid of extra_tabs! Not needed.
if (is_array($extra_tabs) && !empty($extra_tabs)) {
foreach ($extra_tabs as $tab) {
array_push($this->sections, $tab);
}
}
// Move to the first loop area!
/**
* filter 'redux-sections'
*
* @deprecated
*
* @param array $sections field option sections
*/
$this->sections = apply_filters('redux-sections', $sections);
// REMOVE LATER
/**
* filter 'redux-sections-{opt_name}'
*
* @deprecated
*
* @param array $sections field option sections
//.........这里部分代码省略.........
示例8: _enqueue
/**
* Enqueue CSS/JS for options page
*
* @since 1.0.0
* @access public
* @global $wp_styles
* @return void
*/
public function _enqueue()
{
global $wp_styles;
Redux_Functions::$_parent = $this;
$min = Redux_Functions::isMin();
// Select2 business. Fields: Background, Border, Dimensions, Select, Slider, Typography
if (Redux_Helpers::isFieldInUseByType($this->fields, array('background', 'border', 'dimensions', 'select', 'slider', 'typography'))) {
// select2 CSS
wp_register_style('select2-css', self::$_url . 'assets/js/vendor/select2/select2.css', array(), filemtime(self::$_dir . 'assets/js/vendor/select2/select2.css'), 'all');
wp_enqueue_style('select2-css');
// JS
wp_register_script('select2-sortable-js', self::$_url . 'assets/js/vendor/select2.sortable.min.js', array('jquery'), filemtime(self::$_dir . 'assets/js/vendor/select2.sortable.min.js'), true);
wp_register_script('select2-js', self::$_url . 'assets/js/vendor/select2/select2.min.js', array('jquery', 'select2-sortable-js'), filemtime(self::$_dir . 'assets/js/vendor/select2/select2.min.js'), true);
wp_enqueue_script('select2-js');
}
wp_register_style('redux-css', self::$_url . 'assets/css/redux.css', array('farbtastic'), filemtime(self::$_dir . 'assets/css/redux.css'), 'all');
wp_register_style('admin-css', self::$_url . 'assets/css/admin.css', array('farbtastic'), filemtime(self::$_dir . 'assets/css/admin.css'), 'all');
wp_register_style('redux-elusive-icon', self::$_url . 'assets/css/vendor/elusive-icons/elusive-webfont.css', array(), filemtime(self::$_dir . 'assets/css/vendor/elusive-icons/elusive-webfont.css'), 'all');
wp_register_style('redux-elusive-icon-ie7', self::$_url . 'assets/css/vendor/elusive-icons/elusive-webfont-ie7.css', array(), filemtime(self::$_dir . 'assets/css/vendor/elusive-icons/elusive-webfont-ie7.css'), 'all');
wp_register_style('qtip-css', self::$_url . 'assets/css/vendor/qtip/jquery.qtip.css', array(), filemtime(self::$_dir . 'assets/css/vendor/qtip/jquery.qtip.css'), 'all');
$wp_styles->add_data('redux-elusive-icon-ie7', 'conditional', 'lte IE 7');
/**
* jQuery UI stylesheet src
* filter 'redux/page/{opt_name}/enqueue/jquery-ui-css'
* @param string bundled stylesheet src
*/
wp_register_style('jquery-ui-css', apply_filters("redux/page/{$this->args['opt_name']}/enqueue/jquery-ui-css", self::$_url . 'assets/css/vendor/jquery-ui-bootstrap/jquery-ui-1.10.0.custom.css'), '', filemtime(self::$_dir . 'assets/css/vendor/jquery-ui-bootstrap/jquery-ui-1.10.0.custom.css'), 'all');
wp_enqueue_style('jquery-ui-css');
wp_enqueue_style('redux-lte-ie8');
wp_enqueue_style('qtip-css');
wp_enqueue_style('redux-elusive-icon');
wp_enqueue_style('redux-elusive-icon-ie7');
if (is_rtl()) {
wp_register_style('redux-rtl-css', self::$_url . 'assets/css/rtl.css', '', filemtime(self::$_dir . 'assets/css/rtl.css'), 'all');
wp_enqueue_style('redux-rtl-css');
}
wp_enqueue_script('jquery');
wp_enqueue_script('jquery-ui-core');
wp_enqueue_script('jquery-ui-dialog');
// Load jQuery sortable for slides, sorter, sortable and group
if (Redux_Helpers::isFieldInUseByType($this->fields, array('slides', 'sorter', 'sortable', 'group'))) {
wp_enqueue_script('jquery-ui-sortable');
wp_enqueue_style('jquery-ui-sortable');
}
// Load jQuery UI Datepicker for date
if (Redux_Helpers::isFieldInUseByType($this->fields, array('date'))) {
wp_enqueue_script('jquery-ui-datepicker');
}
// Load jQuery UI Accordion for slides and group
if (Redux_Helpers::isFieldInUseByType($this->fields, array('slides', 'group'))) {
wp_enqueue_script('jquery-ui-accordion');
}
// Load wp-color-picker for color, color_gradient, link_color, border, and typography
if (Redux_Helpers::isFieldInUseByType($this->fields, array('color', 'color_gradient', 'link_color', 'border', 'typography'))) {
wp_enqueue_script('wp-color-picker');
wp_enqueue_style('wp-color-picker');
}
if (function_exists('wp_enqueue_media')) {
wp_enqueue_media();
} else {
wp_enqueue_script('media-upload');
}
add_thickbox();
wp_register_script('qtip-js', self::$_url . 'assets/js/vendor/qtip/jquery.qtip.js', array('jquery'), '2.2.0', true);
wp_register_script('serializeForm-js', self::$_url . 'assets/js/vendor/jquery.serializeForm.js', array('jquery'), '1.0.0', true);
// Embed the compress version unless in dev mode
// dev_mode = true
if (isset($this->args['dev_mode']) && $this->args['dev_mode'] === true) {
wp_enqueue_style('admin-css');
wp_register_script('redux-vendor', self::$_url . 'assets/js/vendor.min.js', array('jquery'), filemtime(self::$_dir . 'assets/js/vendor.min.js'), true);
// dev_mode - false
} else {
wp_enqueue_style('redux-css');
}
$depArray = array('jquery', 'qtip-js', 'serializeForm-js');
if (true === $this->args['dev_mode']) {
array_push($depArray, 'redux-vendor');
}
wp_register_script('redux-js', self::$_url . 'assets/js/redux' . $min . '.js', $depArray, filemtime(self::$_dir . 'assets/js/redux' . $min . '.js'), true);
foreach ($this->sections as $section) {
if (isset($section['fields'])) {
foreach ($section['fields'] as $field) {
// TODO AFTER GROUP WORKS - Revert IF below
// if( isset( $field['type'] ) && $field['type'] != 'callback' ) {
if (isset($field['type']) && $field['type'] != 'callback' && $field['type'] != 'group') {
$field_class = 'ReduxFramework_' . $field['type'];
/**
* Field class file
*
* filter 'redux/{opt_name}/field/class/{field.type}
* @param string field class file path
* @param array $field field config data
//.........这里部分代码省略.........
示例9: __construct
/**
* Class Constructor. Defines the args for the theme options class
* @since 1.0.0
* @param array $sections Panel sections.
* @param array $args Class constructor arguments.
* @param array $extra_tabs Extra panel tabs. // REMOVE
* @return \ReduxFramework
*/
public function __construct($sections = array(), $args = array(), $extra_tabs = array())
{
global $wp_version;
// Disregard WP AJAX 'heartbeat'call. Why waste resources?
if (isset($_POST) && isset($_POST['action']) && $_POST['action'] == 'heartbeat') {
// Hook, for purists.
if (!has_action('redux/ajax/heartbeat')) {
do_action('redux/ajax/heartbeat', $this);
}
// Buh bye!
return;
}
// Pass parent pointer to function helper.
Redux_Functions::$_parent = $this;
// Set values
$this->args = wp_parse_args($args, $this->args);
if (empty($this->args['transient_time'])) {
$this->args['transient_time'] = 60 * MINUTE_IN_SECONDS;
}
if (empty($this->args['footer_credit'])) {
$this->args['footer_credit'] = '<span id="footer-thankyou">' . sprintf(__('Options panel created using %1$s', 'redux-framework'), '<a href="' . esc_url($this->framework_url) . '" target="_blank">' . __('Redux Framework', 'redux-framework') . '</a> v' . self::$_version) . '</span>';
}
if (empty($this->args['menu_title'])) {
$this->args['menu_title'] = __('Options', 'redux-framework');
}
if (empty($this->args['page_title'])) {
$this->args['page_title'] = __('Options', 'redux-framework');
}
/**
* filter 'redux/args/{opt_name}'
* @param array $args ReduxFramework configuration
*/
$this->args = apply_filters("redux/args/{$this->args['opt_name']}", $this->args);
/**
* filter 'redux/options/{opt_name}/args'
* @param array $args ReduxFramework configuration
*/
$this->args = apply_filters("redux/options/{$this->args['opt_name']}/args", $this->args);
if (!empty($this->args['opt_name'])) {
/**
SHIM SECTION
Old variables and ways of doing things that need correcting. ;)
**/
// Variable name change
if (!empty($this->args['page_cap'])) {
$this->args['page_permissions'] = $this->args['page_cap'];
unset($this->args['page_cap']);
}
if (!empty($this->args['page_position'])) {
$this->args['page_priority'] = $this->args['page_position'];
unset($this->args['page_position']);
}
if (!empty($this->args['page_type'])) {
$this->args['menu_type'] = $this->args['page_type'];
unset($this->args['page_type']);
}
// Get rid of extra_tabs! Not needed.
if (is_array($extra_tabs) && !empty($extra_tabs)) {
foreach ($extra_tabs as $tab) {
array_push($this->sections, $tab);
}
}
// Move to the first loop area!
/**
* filter 'redux-sections'
* @deprecated
* @param array $sections field option sections
*/
$this->sections = apply_filters('redux-sections', $sections);
// REMOVE LATER
/**
* filter 'redux-sections-{opt_name}'
* @deprecated
* @param array $sections field option sections
*/
$this->sections = apply_filters("redux-sections-{$this->args['opt_name']}", $this->sections);
// REMOVE LATER
/**
* filter 'redux/options/{opt_name}/sections'
* @param array $sections field option sections
*/
$this->sections = apply_filters("redux/options/{$this->args['opt_name']}/sections", $this->sections);
/**
* Construct hook
* action 'redux/construct'
* @param object $this ReduxFramework
*/
do_action('redux/construct', $this);
// Set the default values
$this->_default_cleanup();
//.........这里部分代码省略.........