true, 'style' => '', 'class' => '', 'title' => '', 'subtitle' => '', ); $this->field = wp_parse_args( $this->field, $defaults ); } /** * Field Render Function. * Takes the vars and outputs the HTML for the field in the settings * * @since 1.0.0 * @access public * @return void */ public function render() { $guid = uniqid(); if ( true === $this->field['indent'] ) { $this->field['class'] .= ' redux-section-indent-start'; } $add_class = ''; if ( isset( $this->field['indent'] ) && true === $this->field['indent'] ) { $add_class = ' form-table-section-indented'; } elseif ( ! isset( $this->field['indent'] ) || ( isset( $this->field['indent'] ) && false !== $this->field['indent'] ) ) { $add_class = ' hide'; } echo ''; if ( isset( $this->field['indent'] ) && true === $this->field['indent'] ) { echo '
| '; ?> parent->args['dev_mode'] ) { wp_enqueue_style( 'redux-field-section', Redux_Core::$url . 'inc/fields/section/redux-section.css', array(), $this->timestamp ); } } } } class_alias( 'Redux_Section', 'ReduxFramework_Section' ); |