: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
'type' => \Elementor\Controls_Manager::COLOR,
'{{WRAPPER}} .ep-nft-single-item-wraper .ep-nft-rank-wraper' => 'color: {{VALUE}}!important;',
'embedpress_pro_embeded_nft_type!' => 'collection'
$this->add_group_control(
\Elementor\Group_Control_Typography::get_type(),
'name' => 'nftrank_label_typography',
'selector' => '{{WRAPPER}} .ep-nft-single-item-wraper .ep-nft-rank-wraper ',
'embedpress_pro_embeded_nft_type!' => 'collection'
'label' => esc_html__('Rank Color', 'embedpress'),
'type' => \Elementor\Controls_Manager::COLOR,
'{{WRAPPER}} .ep-nft-single-item-wraper .ep-nft-rank-wraper span.ep-nft-rank' => 'color: {{VALUE}}!important;',
'embedpress_pro_embeded_nft_type!' => 'collection'
'label' => esc_html__('Border Color', 'embedpress'),
'type' => \Elementor\Controls_Manager::COLOR,
'{{WRAPPER}} .ep-nft-single-item-wraper .ep-nft-rank-wraper span.ep-nft-rank' => 'border-color: {{VALUE}}!important',
'embedpress_pro_embeded_nft_type!' => 'collection'
$this->add_group_control(
\Elementor\Group_Control_Typography::get_type(),
'name' => 'nftrank_typography',
'selector' => '{{WRAPPER}} .ep-nft-single-item-wraper .ep-nft-rank-wraper span.ep-nft-rank',
'embedpress_pro_embeded_nft_type!' => 'collection'
'label' => esc_html__('Details', 'embedpress'),
'type' => \Elementor\Controls_Manager::HEADING,
'embedpress_pro_embeded_nft_type!' => 'collection'
'label' => esc_html__('Title Color', 'embedpress'),
'type' => \Elementor\Controls_Manager::COLOR,
'{{WRAPPER}} .ep-title' => 'color: {{VALUE}}',
'embedpress_pro_embeded_nft_type!' => 'collection'
$this->add_group_control(
\Elementor\Group_Control_Typography::get_type(),
'label' => esc_html__('Title Typography', 'embedpress'),
'name' => 'nftdetail_title_typography',
'selector' => '{{WRAPPER}} .ep-title',
'embedpress_pro_embeded_nft_type!' => 'collection'
'label' => esc_html__('Content Color', 'embedpress'),
'type' => \Elementor\Controls_Manager::COLOR,
'{{WRAPPER}} .ep-asset-detail-item' => 'color: {{VALUE}}',
'embedpress_pro_embeded_nft_type!' => 'collection'
$this->add_group_control(
\Elementor\Group_Control_Typography::get_type(),
'label' => esc_html__('Content Typography', 'embedpress'),
'name' => 'nftdetail_typography',
'selector' => '{{WRAPPER}} .ep-asset-detail-item',
'embedpress_pro_embeded_nft_type!' => 'collection'
'label' => esc_html__('Link Color', 'embedpress'),
'type' => \Elementor\Controls_Manager::COLOR,
'{{WRAPPER}} .ep-asset-detail-item a' => 'color: {{VALUE}}',
'embedpress_pro_embeded_nft_type!' => 'collection'
$this->add_group_control(
\Elementor\Group_Control_Typography::get_type(),
'name' => 'nftdetail_link_typography',
'selector' => '{{WRAPPER}} .ep-asset-detail-item a, .ep-asset-detail-item',
'embedpress_pro_embeded_nft_type!' => 'collection'
$this->end_controls_section();
* Instagram Feed Controls
public function init_instafeed_control(){
'embedpress_pro_embeded_source' => 'instafeed'
'type' => \Elementor\Controls_Manager::SELECT,
'label' => esc_html__( 'Layout', 'embedpress' ),
'insta-grid' => esc_html__( 'Grid', 'embedpress' ),
'insta-masonry' => sprintf(__('Masonry%s', 'embedpress'), $this->pro_label),
'insta-carousel' => sprintf(__('Carousel%s', 'embedpress'), $this->pro_label),
'default' => 'insta-grid',
'condition' => $condition,
if ( !is_embedpress_pro_active() ) {
'embedpress_insta_layout__pro_enable_warning',
'label' => sprintf( '<a style="color: red" target="_blank" href="https://wpdeveloper.com/in/upgrade-embedpress">%s</a>',
esc_html__( 'Only Available in Pro Version!', 'essential-addons-for-elementor-lite' ) ),
'type' => Controls_Manager::RAW_HTML,
'instaLayout' => [ 'insta-masonry', 'insta-carousel' ],
'label' => __('Column', 'embedpress'),
'type' => \Elementor\Controls_Manager::SELECT,
'2' => esc_html__('2', 'embedpress'),
'3' => esc_html__('3', 'embedpress'),
'4' => esc_html__('4', 'embedpress'),
'6' => esc_html__('6', 'embedpress'),
'auto' => esc_html__('Auto', 'embedpress'),
'instaLayout' => ['insta-grid', 'insta-masonry'],
'embedpress_pro_embeded_source' => 'instafeed'
'label' => esc_html__( 'Column Gap', 'embedpress' ),
'type' => \Elementor\Controls_Manager::NUMBER,
'instaLayout' => [ 'insta-masonry', 'insta-grid' ],
'embedpress_instafeed_slide_show',
'type' => \Elementor\Controls_Manager::SELECT,
'label' => esc_html__( 'Slides to Show', 'embedpress' ),
'1' => esc_html__( '1', 'embedpress' ),
'2' => esc_html__( '2', 'embedpress' ),
'3' => esc_html__( '3', 'embedpress' ),
'4' => esc_html__( '4', 'embedpress' ),
'5' => esc_html__( '5', 'embedpress' ),
'6' => esc_html__( '6', 'embedpress' ),
'7' => esc_html__( '7', 'embedpress' ),
'8' => esc_html__( '8', 'embedpress' ),
'9' => esc_html__( '9', 'embedpress' ),
'10' => esc_html__( '10', 'embedpress' ),
'embedpress_pro_embeded_source' => 'instafeed',
'instaLayout' => 'insta-carousel'
'embedpress_carousel_autoplay',
'label' => __('Auto Play', 'embedpress'),
'type' => Controls_Manager::SWITCHER,
'embedpress_pro_embeded_source' => 'instafeed',
'instaLayout' => 'insta-carousel'
'embedpress_carousel_autoplay_speed',
'label' => esc_html__( 'Autoplay Speed(ms)', 'embedpress' ),
'type' => \Elementor\Controls_Manager::NUMBER,
'embedpress_pro_embeded_source' => 'instafeed',
'instaLayout' => 'insta-carousel'
'embedpress_carousel_transition_speed',
'label' => esc_html__( 'Transition Speed(ms)', 'embedpress' ),
'type' => \Elementor\Controls_Manager::NUMBER,
'embedpress_pro_embeded_source' => 'instafeed',
'instaLayout' => 'insta-carousel'
'embedpress_carousel_loop',
'label' => __('Loop', 'embedpress'),
'type' => Controls_Manager::SWITCHER,
'embedpress_pro_embeded_source' => 'instafeed',
'instaLayout' => 'insta-carousel'
'embedpress_carousel_arrows',
'label' => __('Arrows', 'embedpress'),
'type' => Controls_Manager::SWITCHER,
'embedpress_pro_embeded_source' => 'instafeed',
'instaLayout' => 'insta-carousel'
'embedpress_carousel_spacing',
'label' => esc_html__( 'Spacing', 'embedpress' ),
'type' => \Elementor\Controls_Manager::NUMBER,
'embedpress_pro_embeded_source' => 'instafeed',
'instaLayout' => 'insta-carousel'
'label' => esc_html__( 'Posts Per Page', 'embedpress' ),
'type' => \Elementor\Controls_Manager::NUMBER,
'embedpress_pro_embeded_source' => 'instafeed',
'label' => sprintf(__('Feed Tab %s', 'embedpress'), $this->pro_text),
'type' => Controls_Manager::SWITCHER,
'classes' => $this->pro_class,
'condition' => $condition,
'label' => sprintf(__('Like Count %s', 'embedpress'), $this->pro_text),
'type' => Controls_Manager::SWITCHER,
'classes' => $this->pro_class,
'return_value' => 'true',
'name' => 'instafeedFeedType',
'value' => 'hashtag_type',
'name' => 'instafeedAccountType',
'name' => 'embedpress_pro_embeded_source',
'instafeedCommentsCount',
'label' => sprintf(__('Comments Count %s', 'embedpress'), $this->pro_text),
'type' => Controls_Manager::SWITCHER,
'classes' => $this->pro_class,
'return_value' => 'true',
'name' => 'instafeedFeedType',
'value' => 'hashtag_type',
'name' => 'instafeedAccountType',
'name' => 'embedpress_pro_embeded_source',
'label' => __('Popup', 'embedpress'),
'type' => Controls_Manager::SWITCHER,
'condition' => $condition,
'instafeedPopupFollowBtn',
'label' => __('Popup Follow Button', 'embedpress'),
'type' => Controls_Manager::SWITCHER,
'embedpress_pro_embeded_source' => 'instafeed',
'instafeedPopup' => 'yes'
'instafeedPopupFollowBtnLabel',
'type' => \Elementor\Controls_Manager::TEXT,
'label' => esc_html__('Follow Button Label', 'embedpress'),
'placeholder' => 'Follow',
'instafeedPopupFollowBtn' => 'yes',
'instafeedPopup' => 'yes',
'embedpress_pro_embeded_source' => 'instafeed'