value();
$name = '_customize-radio-' . $this->id;
if ( ! empty( $this->label ) ) : ?>
label ); ?>
description ) ) : ?>
description ); ?>
data ) ) {
foreach ( $this->data as $attr_name => $attr_value ) {
$data[] = 'data-' . sanitize_title_with_dashes( $attr_name ) . '="' . esc_attr( $attr_value ) . '"';
}
}
$data = implode( ' ', $data );
echo '' . esc_html( $this->button_title ) . ''; // xss ok - $data escaped above
}
public function enqueue() {
wp_enqueue_script(
'customizer-control-vamtam-button-js',
VAMTAM_CUSTOMIZER_LIB_URL . 'assets/js/button' . ( WP_DEBUG ? '' : '.min' ) . '.js',
array( 'jquery-core', 'customize-base' ),
time(),
true
);
}
}