palette ) ) {
$palette = implode( '|', $this->palette );
} else {
// Default to true.
if ('default' == $this->palette) {
$palette = array(
'rgb(0, 0, 0)',
'rgb(255, 255, 255)',
'rgba(221,51,51,0.92)',
'rgb(150, 50, 220)',
'#dd9933',
'#eeee22',
'#81d742',
'#00CC99'
);
$palette = implode( '|', $palette );
} else {
$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';
?>
link() ); ?> />
id . '[]';
$description_id = '_customize-description-' . $this->id;
$describedby_attr = ( ! empty( $this->description ) ) ? ' aria-describedby="' . esc_attr( $description_id ) . '" ' : '';
if ( empty( $this->choices ) ) {
return;
}
?>
label ) ) : ?>
description ) ) : ?>
description ); ?>
value(), true );
// $rows = $this->value();
// $rows_encode = wp_json_encode( $rows );
// $rows = array();
?>
label ) ) {
?>
label ); ?>
description ) ) {
?>
description ); ?>
id;
$class = str_replace( '[', '-', $class );
$class = str_replace( ']', '', $class );
?>
link() ); ?>/>