label ) ) : ?> label ); ?>
input_attrs(); $this->link(); ?>> 0
description ) ) : ?> description; ?> '; // Output the label and description if they were passed in. if ( isset( $this->label ) && '' !== $this->label ) { echo '' . sanitize_text_field( $this->label ) . ''; } if ( isset( $this->description ) && '' !== $this->description ) { echo '' . sanitize_text_field( $this->description ) . ''; } // Process the palette if ( is_array( $this->palette ) ) { $palette = implode( '|', $this->palette ); } else { // Default to true. $palette = ( false === $this->palette || 'false' === $this->palette ) ? 'false' : 'true'; } // Support passing show_opacity as string or boolean. Default to true. $show_opacity = ( false === $this->show_opacity || 'false' === $this->show_opacity ) ? 'false' : 'true'; // Begin the output. ?> link() ); ?> /> '; } } /** * Seperator Custom Customizer Control * * Class BetterDocs_Separator_Custom_Control * * @since 1.0.0 */ class BetterDocs_Separator_Custom_Control extends WP_Customize_Control{ public $type = 'separator'; public function render_content(){ ?>
input_attrs(); ?>> label ); ?> description ) ) : ?> description; ?>
choices ) ) return; ?> label ) ) : ?> label ); ?>
input_attrs(); $this->link(); ?>> label ); ?>
id); $val_top = get_theme_mod($this->id.'_top'); $val_left = get_theme_mod($this->id.'_left'); ?> label ) ) : ?> label ); ?>
label ) ) : ?> label ); ?> input_attrs(); $this->link(); ?>> description ) ) : ?> description; ?>
choices ) ) { return; } $name = '_customize-radio-' . $this->id; ?> label ) ) : ?> label ); ?> description ) ) : ?> description ); ?>
choices as $value => $label ) : if(isset( $label['pro'] ) && $label['pro'] === true){ ?> link(); checked( $this->value(), $value ); ?>>