condition ) ) {
$condition = 'class="condition-me" data-cond-option="' . $this->condition[0] . '"' . ' data-cond-value="' . $this->condition[1] . '"' ;
} else {
$condition = '';
}
?>
condition ) ) {
$condition = 'class="condition-me" data-cond-option="' . $this->condition[0] . '"' . ' data-cond-value="' . $this->condition[1] . '"' ;
} else {
$condition = '';
}
?>
condition ) ) {
$condition = 'class="condition-me" data-cond-option="' . $this->condition[0] . '"' . ' data-cond-value="' . $this->condition[1] . '"' ;
} else {
$condition = '';
}
?>
condition ) ) {
$condition = 'class="condition-me" data-cond-option="' . $this->condition[0] . '"' . ' data-cond-value="' . $this->condition[1] . '"' ;
} else {
$condition = '';
}
?>
choices ) ) {
return;
}
if ( ! empty( $this->condition ) ) {
$condition = 'class="condition-me" data-cond-option="' . $this->condition[0] . '"' . ' data-cond-value="' . $this->condition[1] . '"' ;
} else {
$condition = '';
}
$name = '_customize-radio-' . $this->id;
?>
fonts = $this->get_fonts('all');
parent::__construct( $manager, $id, $args );
}
/**
* Render the content of the category dropdown
*
* @return HTML
*/
public function render_content()
{
if( ! empty($this->fonts))
{
?>
items;
} else {
return array_slice($content->items, 0, $amount);
}
}
}
class KLEO_Customize_MultiSelect extends WP_Customize_Control {
/**
* The type of customize control being rendered.
*
*/
public $type = 'multiple-select';
public $condition = NULL;
/**
* Displays the multiple select on the customize screen.
*
*/
public function render_content() {
if ( empty( $this->choices ) ) {
return;
}
if ( ! empty( $this->condition ) ) {
$condition = 'class="condition-me" data-cond-option="' . $this->condition[0] . '"' . ' data-cond-value="' . $this->condition[1] . '"' ;
} else {
$condition = '';
}
?>
description ) ) : ?>
description); ?>
choices ) ) {
return;
}
if ( ! empty( $this->condition ) ) {
$condition = 'class="condition-me" data-cond-option="' . $this->condition[0] . '"' . ' data-cond-value="' . $this->condition[1] . '"' ;
} else {
$condition = '';
}
?>
description ) ) : ?>
description); ?>