: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) exit;
$output = '<div {{if_id}}id="{{id}}"{{ifend_id}} class="{{user_class}}">
<div class="btn"><a href="{{btn_link}}" {{if_condition_page_link_open==new_page}}target="_blank"{{ifend_condition_page_link_open_new_page}} {{if_condition_check_for_nofollow==1}}rel="nofollow"{{ifend_condition_check_for_nofollow_1}} class="btn-txt">{{content_title}}{{if_condition_check_for_icon==1}}<i class="ico-pic icon-{{icon-picker}}"></i>{{ifend_condition_check_for_icon_1}}</a>
{{if_sub_heading}}<span>{{sub_heading}}</span> {{ifend_sub_heading}}</div>
{{if_condition_button_repeat_check==1}}{{repeater}}{{ifend_condition_button_repeat_check_1}}
{{module-class}}.button-mod {width:100%;display:inline-block;text-align:{{align_type}};margin:{{margin_css}};padding:{{padding_css}};}
{{module-class}} .btn-txt{
font-size:{{text-size}}; border-radius:{{border-rds}}; color:{{font_color_picker}};background:{{bg_color_picker}};display: inline-block;padding: {{gapping_css}}; width:{{button-width}};font-weight:{{font_weight}};box-sizing:initial;
{{if_condition_check_for_border==1}}
border:{{brdr-wdt}} solid {{border-clr_pkr}};
{{ifend_condition_check_for_border_1}}
.button-mod span{display: block;font-size: 12px;color: {{sub_color_picker}};font-weight:300;margin-top:10px}
{{if_condition_check_for_icon==1}}
{{module-class}} .btn-txt .ico-pic{font-size: {{icon-size}};position: absolute; margin:{{margin_gap}};}
{{ifend_condition_check_for_icon_1}}
{{if_condition_display_type==inline}}
{{ifend_condition_display_type_inline}}
{{if_condition_check_for_altrbtn==1}}
{{module-class}} .alt-btn{
background:{{altbg_color}};
{{ifend_condition_check_for_altrbtn_1}}
{{if_condition_button_repeat_check==1}}
{{module-class}} .btn{margin:0 0 15px 0;}
{{ifend_condition_button_repeat_check_1}}
{{module-class}} .btn {display: flex;flex-direction: column;align-items: center;}
{{module-class}} .btn-txt{width:{{resp-btn-width}};box-sizing:inherit;}
{{if_condition_check_for_altrbtn==1}}
{{module-class}} .alt-btn{margin-left:0px;}
{{ifend_condition_check_for_altrbtn_1}}
'default_tab'=> 'customizer',
'name' =>"content_title",
'default' =>'Get started free',
'helpmessage' => esc_html__('Enter URL with Valid Protocol(http, https, mailto, sms, tel, viber, whatsapp, ftp)', 'accelerated-mobile-pages'),
'name' =>'page_link_open',
'label' =>"Open link in",
'options_details'=>array(
'same_page' =>'Same page'
'type' =>'checkbox_bool',
'name' =>"check_for_nofollow",
'label' => 'Nofollow Link',
'default' =>'No Credit card required',
'type' =>'checkbox_bool',
'name' =>"check_for_icon",
'type' =>'icon-selector',
'default' =>'check_circle',
'required' => array('check_for_icon'=>'1')
'options_details'=>array(
'name' =>"bg_color_picker",
'label' =>'Background Color',
'name' =>"font_color_picker",
'label' =>'Button Text Color',
'name' =>"sub_color_picker",
'label' =>'Subheading Text Color',
'required' => array('check_for_icon'=>'1')
'label' =>'Icon Adjustment',
'required' => array('check_for_icon'=>'1')
'options_details'=>array(
'label' =>'Border Radius',
'options_details'=>array(
'block' =>'Block (Vertical)',
'inline' =>'Inline (Horizontal)', ),
'name' =>'resp-btn-width',
'label' =>'Button Width',
'label' =>'Button Padding',
'label' =>'Button Margin',
'type' =>'checkbox_bool',
'name' =>"check_for_border",
'label' =>'Border Width',
'required' => array('check_for_border'=>'1')
'name' =>"border-clr_pkr",
'label' =>'Border Color',
'required' => array('check_for_border'=>'1')
'type' =>'checkbox_bool',
'name' =>"check_for_altrbtn",
'label' => 'Customize Alternate Button',
'label' =>'Background Color',
'required' => array('check_for_altrbtn'=>'1')
'name' =>"altfont_color",
'label' =>'Button Text Color',
'required' => array('check_for_altrbtn'=>'1')
'type' =>'checkbox_bool',
'name' =>'button_repeat_check',
'label' =>'Alternate Button',
'front_template'=> $output,
'required'=>array('button_repeat_check'=>1),
'name' =>"content_title",
'default' =>'Get started free',
'name' =>'page_link_open',
'label' =>"Open link in",
'options_details'=>array(
'same_page' =>'Same page'
'default' =>'No Credit card required',
'type' =>'icon-selector',
'default' =>'check_circle',
'required' => array('check_for_icon'=>'1')
<a href="{{btn_link}}" {{if_condition_page_link_open==new_page}}target="_blank"{{ifend_condition_page_link_open_new_page}}
class="btn-txt{{if_condition_button_repeat_check==1}}
alt-btn"{{ifend_condition_button_repeat_check_1}} {{if_condition_check_for_nofollow==1}}rel="nofollow"{{ifend_condition_check_for_nofollow_1}} </a>
{{if_condition_button_repeat_check==1}}
{{content_title}}{{if_condition_check_for_icon==1}}<i class="ico-pic icon-{{icon-picker}}"></i>{{ifend_condition_check_for_icon_1}}
{{if_sub_heading}}<span>{{sub_heading}}</span> {{ifend_sub_heading}}