: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
namespace TwitterFeed\Builder\Controls;
if(!defined('ABSPATH')) exit;
class SB_Checkbox_Control extends SB_Controls_Base{
* Getting the Control Type
public function get_type(){
public function get_control_output($controlEditingTypeModel){
<div class="sb-control-checkbox-ctn ctf-fb-fs" @click.prevent.default="(control.custom != undefined && control.custom == 'feedtype') ? changeCheckboxSectionValue('type', control.value, 'feedFlyPreview') : changeSwitcherSettingValue(control.id, control.options.enabled, control.options.disabled, control.ajaxAction != undefined ? control.ajaxAction : false)">
<div class="sb-control-checkbox" :data-active="(control.custom != undefined && control.custom == 'feedtype') ? <?php echo $controlEditingTypeModel ?>['type'].includes(control.value) : checkActiveControl(control.id, control.options.enabled)"></div>
<div class="sb-control-label" :data-title="control.labelStrong ? 'true' : false">{{control.label}}</div>