pro_text;
$json['pro_url'] = esc_url( $this->pro_url );
return $json;
}
protected function render_template() { ?>
{{ data.title }}
<# if ( data.pro_text && data.pro_url ) { #>
{{ data.pro_text }}
<# } #>
title;
$json['premium_features_list'] = $this->premium_features_list;
$json['upsell_link'] = $this->upsell_link;
$json['upsell_text'] = __( 'Upgrade Now', 'cake-shop' );
$json['button_link'] = $this->button_link;
$json['button_text'] = $this->button_text;
return $json;
}
protected function render_template() {
?>
<# if ( data.title ) { #>
{{ data.title }}
<# } #>
<# if ( !_.isEmpty(data.premium_features_list) ) { #>
<# _.each( data.premium_features_list, function(key, value) { #>
- {{{ key }}}
<# }) #>
<# } #>
{{ data.upsell_text }}
label ) ) { ?>
label ); ?>
choices as $key => $value ) { ?>