: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
* This control will used for custom HTMlL controls like (source, feed type...)
namespace TwitterFeed\Builder\Controls;
if(!defined('ABSPATH')) exit;
class SB_Customview_Control extends SB_Controls_Base{
* Getting the Control Type
public function get_type(){
public function get_control_output($controlEditingTypeModel){
$this->get_control_sources_output($controlEditingTypeModel);
$this->get_control_feedtemplate_output($controlEditingTypeModel);
* Feed Type Output Control
public function get_control_sources_output($controlEditingTypeModel){
<div class="sb-control-feedtype-ctn" v-if="control.viewId == 'sources'">
<div class="sb-control-feedtype-item ctf-fb-fs" v-for="(feedType, feedTypeID) in selectSourceScreen.multipleTypes" v-if="checkMultipleFeedTypeActiveCustomizer(feedTypeID)">
<div class="sb-control-elem-label-title ctf-fb-fs">
<div class="sb-control-elem-heading sb-small-p sb-dark-text" v-html="feedType.heading"></div>
<!--<div class="sb-control-elem-tltp" @mouseover.prevent.default="toggleElementTooltip(feedType.description, 'show', 'center' )" @mouseleave.prevent.default="toggleElementTooltip('', 'hide')">
<div class="sb-control-elem-tltp-icon" v-html="svgIcons['info']"></div>
<div class="sb-control-feedtype-list ctf-fb-fs" v-if="feedTypeID != 'mentionstimeline' && feedTypeID != 'hometimeline'">
<div class="sb-control-feedtype-list-item" v-for="selectedSource in returnSelectedSourcesByTypeCustomizer(feedTypeID)">
<div class="sb-control-feedtype-list-item-icon" v-html="svgIcons[selectSourceScreen.multipleTypes[feedTypeID].icon]"></div>
<span v-html="feedTypeID == 'lists' ? selectedSource.name : selectedSource"></span>
<div class="sb-control-feedtype-list ctf-fb-fs" v-if="feedTypeID == 'mentionstimeline' || feedTypeID == 'hometimeline'">
<div class="sb-control-feedtype-list-item">
<div class="sb-control-feedtype-list-item-icon" v-html="svgIcons['user']"></div>
<span v-html="accountDetails.account_handle"></span>
<button class="sb-control-action-button sb-btn sb-btn-grey ctf-fb-fs" @click.prevent.default="openFeedTypesPopupCustomizer()">
<div v-html="svgIcons['edit']"></div>
<span>{{genericText.editSources}}</span>
* Feed Templates Output Control
public function get_control_feedtemplate_output($controlEditingTypeModel){
<div :class="['sb-control-feedtype-ctn sb-control-feedtemplate-ctn', 'ctf-feedtemplate-' + customizerScreens.printedTemplate.type]" v-if="control.viewId == 'feedtemplate'">
<div class="ctf-fb-type-el" v-if="customizerFeedTemplatePrint()" @click.prevent.default="activateView('feedtemplatesPopup')">
<div class="ctf-fb-type-el-img ctf-fb-fs" v-html="svgIcons[customizerScreens.printedTemplate.icon]"></div>
<div class="ctf-fb-type-el-info ctf-fb-fs">
<strong class="ctf-fb-fs" v-html="customizerScreens.printedTemplate.title"></strong>
<button class="sb-control-action-button sb-btn ctf-fb-fs sb-btn-grey" @click.prevent.default="activateView('feedtemplatesPopup')">
<div v-html="svgIcons['edit']"></div>
<span>{{genericText.change}}</span>
<p class="ctf-fb-feedtemplate-alert ctf-fb-fs">
<span v-html="svgIcons['info']"></span>
{{selectFeedTemplateScreen.updateHeadingWarning2}}