Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93

Warning: Undefined array key "page_file_edit_line" in /home/sportsfever/public_html/filemanger/edit_text_line.php on line 32
/home/sportsfe.../httpdocs/clone/wp-conte.../plugins/embedpre.../EmbedPre.../Elemento.../Widgets
File: Embedpress_Elementor.php
'type' => \Elementor\Controls_Manager::COLOR,
[2500] Fix | Delete
'selectors' => [
[2501] Fix | Delete
'{{WRAPPER}} .ep-nft-single-item-wraper .ep-nft-rank-wraper' => 'color: {{VALUE}}!important;',
[2502] Fix | Delete
],
[2503] Fix | Delete
'condition' => [
[2504] Fix | Delete
'nftrank' => 'yes',
[2505] Fix | Delete
'embedpress_pro_embeded_nft_type!' => 'collection'
[2506] Fix | Delete
]
[2507] Fix | Delete
]
[2508] Fix | Delete
);
[2509] Fix | Delete
$this->add_group_control(
[2510] Fix | Delete
\Elementor\Group_Control_Typography::get_type(),
[2511] Fix | Delete
[
[2512] Fix | Delete
'name' => 'nftrank_label_typography',
[2513] Fix | Delete
'selector' => '{{WRAPPER}} .ep-nft-single-item-wraper .ep-nft-rank-wraper ',
[2514] Fix | Delete
'condition' => [
[2515] Fix | Delete
'nftrank' => 'yes',
[2516] Fix | Delete
'embedpress_pro_embeded_nft_type!' => 'collection'
[2517] Fix | Delete
]
[2518] Fix | Delete
]
[2519] Fix | Delete
);
[2520] Fix | Delete
$this->add_control(
[2521] Fix | Delete
'nftrank_color',
[2522] Fix | Delete
[
[2523] Fix | Delete
'label' => esc_html__('Rank Color', 'embedpress'),
[2524] Fix | Delete
'type' => \Elementor\Controls_Manager::COLOR,
[2525] Fix | Delete
'selectors' => [
[2526] Fix | Delete
'{{WRAPPER}} .ep-nft-single-item-wraper .ep-nft-rank-wraper span.ep-nft-rank' => 'color: {{VALUE}}!important;',
[2527] Fix | Delete
],
[2528] Fix | Delete
'condition' => [
[2529] Fix | Delete
'nftrank' => 'yes',
[2530] Fix | Delete
'embedpress_pro_embeded_nft_type!' => 'collection'
[2531] Fix | Delete
]
[2532] Fix | Delete
]
[2533] Fix | Delete
);
[2534] Fix | Delete
$this->add_control(
[2535] Fix | Delete
'nftrank_border_color',
[2536] Fix | Delete
[
[2537] Fix | Delete
'label' => esc_html__('Border Color', 'embedpress'),
[2538] Fix | Delete
'type' => \Elementor\Controls_Manager::COLOR,
[2539] Fix | Delete
'selectors' => [
[2540] Fix | Delete
'{{WRAPPER}} .ep-nft-single-item-wraper .ep-nft-rank-wraper span.ep-nft-rank' => 'border-color: {{VALUE}}!important',
[2541] Fix | Delete
],
[2542] Fix | Delete
'condition' => [
[2543] Fix | Delete
'nftrank' => 'yes',
[2544] Fix | Delete
'embedpress_pro_embeded_nft_type!' => 'collection'
[2545] Fix | Delete
]
[2546] Fix | Delete
]
[2547] Fix | Delete
);
[2548] Fix | Delete
$this->add_group_control(
[2549] Fix | Delete
\Elementor\Group_Control_Typography::get_type(),
[2550] Fix | Delete
[
[2551] Fix | Delete
'name' => 'nftrank_typography',
[2552] Fix | Delete
'selector' => '{{WRAPPER}} .ep-nft-single-item-wraper .ep-nft-rank-wraper span.ep-nft-rank',
[2553] Fix | Delete
'condition' => [
[2554] Fix | Delete
'nftrank' => 'yes',
[2555] Fix | Delete
'embedpress_pro_embeded_nft_type!' => 'collection'
[2556] Fix | Delete
]
[2557] Fix | Delete
]
[2558] Fix | Delete
);
[2559] Fix | Delete
[2560] Fix | Delete
[2561] Fix | Delete
[2562] Fix | Delete
$this->add_control(
[2563] Fix | Delete
'nftdetails_heading',
[2564] Fix | Delete
[
[2565] Fix | Delete
'label' => esc_html__('Details', 'embedpress'),
[2566] Fix | Delete
'type' => \Elementor\Controls_Manager::HEADING,
[2567] Fix | Delete
'separator' => 'before',
[2568] Fix | Delete
'condition' => [
[2569] Fix | Delete
'nftrank' => 'yes',
[2570] Fix | Delete
'embedpress_pro_embeded_nft_type!' => 'collection'
[2571] Fix | Delete
]
[2572] Fix | Delete
]
[2573] Fix | Delete
);
[2574] Fix | Delete
[2575] Fix | Delete
$this->add_control(
[2576] Fix | Delete
'nftdetail_title_color',
[2577] Fix | Delete
[
[2578] Fix | Delete
'label' => esc_html__('Title Color', 'embedpress'),
[2579] Fix | Delete
'type' => \Elementor\Controls_Manager::COLOR,
[2580] Fix | Delete
'selectors' => [
[2581] Fix | Delete
'{{WRAPPER}} .ep-title' => 'color: {{VALUE}}',
[2582] Fix | Delete
],
[2583] Fix | Delete
'condition' => [
[2584] Fix | Delete
'nftrank' => 'yes',
[2585] Fix | Delete
'embedpress_pro_embeded_nft_type!' => 'collection'
[2586] Fix | Delete
]
[2587] Fix | Delete
]
[2588] Fix | Delete
);
[2589] Fix | Delete
$this->add_group_control(
[2590] Fix | Delete
\Elementor\Group_Control_Typography::get_type(),
[2591] Fix | Delete
[
[2592] Fix | Delete
'label' => esc_html__('Title Typography', 'embedpress'),
[2593] Fix | Delete
'name' => 'nftdetail_title_typography',
[2594] Fix | Delete
'selector' => '{{WRAPPER}} .ep-title',
[2595] Fix | Delete
'condition' => [
[2596] Fix | Delete
'nftrank' => 'yes',
[2597] Fix | Delete
'embedpress_pro_embeded_nft_type!' => 'collection'
[2598] Fix | Delete
]
[2599] Fix | Delete
]
[2600] Fix | Delete
);
[2601] Fix | Delete
[2602] Fix | Delete
$this->add_control(
[2603] Fix | Delete
'nftdetail_color',
[2604] Fix | Delete
[
[2605] Fix | Delete
'label' => esc_html__('Content Color', 'embedpress'),
[2606] Fix | Delete
'type' => \Elementor\Controls_Manager::COLOR,
[2607] Fix | Delete
'selectors' => [
[2608] Fix | Delete
'{{WRAPPER}} .ep-asset-detail-item' => 'color: {{VALUE}}',
[2609] Fix | Delete
],
[2610] Fix | Delete
'condition' => [
[2611] Fix | Delete
'nftrank' => 'yes',
[2612] Fix | Delete
'embedpress_pro_embeded_nft_type!' => 'collection'
[2613] Fix | Delete
]
[2614] Fix | Delete
]
[2615] Fix | Delete
);
[2616] Fix | Delete
$this->add_group_control(
[2617] Fix | Delete
\Elementor\Group_Control_Typography::get_type(),
[2618] Fix | Delete
[
[2619] Fix | Delete
'label' => esc_html__('Content Typography', 'embedpress'),
[2620] Fix | Delete
'name' => 'nftdetail_typography',
[2621] Fix | Delete
'selector' => '{{WRAPPER}} .ep-asset-detail-item',
[2622] Fix | Delete
'condition' => [
[2623] Fix | Delete
'nftrank' => 'yes',
[2624] Fix | Delete
'embedpress_pro_embeded_nft_type!' => 'collection'
[2625] Fix | Delete
]
[2626] Fix | Delete
]
[2627] Fix | Delete
);
[2628] Fix | Delete
[2629] Fix | Delete
$this->add_control(
[2630] Fix | Delete
'nftdetail_link_color',
[2631] Fix | Delete
[
[2632] Fix | Delete
'label' => esc_html__('Link Color', 'embedpress'),
[2633] Fix | Delete
'type' => \Elementor\Controls_Manager::COLOR,
[2634] Fix | Delete
'selectors' => [
[2635] Fix | Delete
'{{WRAPPER}} .ep-asset-detail-item a' => 'color: {{VALUE}}',
[2636] Fix | Delete
],
[2637] Fix | Delete
'condition' => [
[2638] Fix | Delete
'nftrank' => 'yes',
[2639] Fix | Delete
'embedpress_pro_embeded_nft_type!' => 'collection'
[2640] Fix | Delete
]
[2641] Fix | Delete
]
[2642] Fix | Delete
);
[2643] Fix | Delete
$this->add_group_control(
[2644] Fix | Delete
\Elementor\Group_Control_Typography::get_type(),
[2645] Fix | Delete
[
[2646] Fix | Delete
'name' => 'nftdetail_link_typography',
[2647] Fix | Delete
'selector' => '{{WRAPPER}} .ep-asset-detail-item a, .ep-asset-detail-item',
[2648] Fix | Delete
'condition' => [
[2649] Fix | Delete
'nftrank' => 'yes',
[2650] Fix | Delete
'embedpress_pro_embeded_nft_type!' => 'collection'
[2651] Fix | Delete
]
[2652] Fix | Delete
]
[2653] Fix | Delete
);
[2654] Fix | Delete
[2655] Fix | Delete
[2656] Fix | Delete
$this->end_controls_section();
[2657] Fix | Delete
}
[2658] Fix | Delete
[2659] Fix | Delete
//End OpenSea controls
[2660] Fix | Delete
[2661] Fix | Delete
[2662] Fix | Delete
[2663] Fix | Delete
/**
[2664] Fix | Delete
* Instagram Feed Controls
[2665] Fix | Delete
*/
[2666] Fix | Delete
public function init_instafeed_control(){
[2667] Fix | Delete
$condition = [
[2668] Fix | Delete
'embedpress_pro_embeded_source' => 'instafeed'
[2669] Fix | Delete
];
[2670] Fix | Delete
$disableAi = [
[2671] Fix | Delete
'active' => false,
[2672] Fix | Delete
];
[2673] Fix | Delete
[2674] Fix | Delete
$this->add_control(
[2675] Fix | Delete
'instaLayout',
[2676] Fix | Delete
[
[2677] Fix | Delete
'type' => \Elementor\Controls_Manager::SELECT,
[2678] Fix | Delete
'label' => esc_html__( 'Layout', 'embedpress' ),
[2679] Fix | Delete
'options' => [
[2680] Fix | Delete
'insta-grid' => esc_html__( 'Grid', 'embedpress' ),
[2681] Fix | Delete
'insta-masonry' => sprintf(__('Masonry%s', 'embedpress'), $this->pro_label),
[2682] Fix | Delete
'insta-carousel' => sprintf(__('Carousel%s', 'embedpress'), $this->pro_label),
[2683] Fix | Delete
],
[2684] Fix | Delete
'default' => 'insta-grid',
[2685] Fix | Delete
'condition' => $condition,
[2686] Fix | Delete
]
[2687] Fix | Delete
);
[2688] Fix | Delete
[2689] Fix | Delete
if ( !is_embedpress_pro_active() ) {
[2690] Fix | Delete
$this->add_control(
[2691] Fix | Delete
'embedpress_insta_layout__pro_enable_warning',
[2692] Fix | Delete
[
[2693] Fix | Delete
'label' => sprintf( '<a style="color: red" target="_blank" href="https://wpdeveloper.com/in/upgrade-embedpress">%s</a>',
[2694] Fix | Delete
esc_html__( 'Only Available in Pro Version!', 'essential-addons-for-elementor-lite' ) ),
[2695] Fix | Delete
'type' => Controls_Manager::RAW_HTML,
[2696] Fix | Delete
'condition' => [
[2697] Fix | Delete
'instaLayout' => [ 'insta-masonry', 'insta-carousel' ],
[2698] Fix | Delete
],
[2699] Fix | Delete
]
[2700] Fix | Delete
);
[2701] Fix | Delete
}
[2702] Fix | Delete
[2703] Fix | Delete
$this->add_control(
[2704] Fix | Delete
'instafeedColumns',
[2705] Fix | Delete
[
[2706] Fix | Delete
'label' => __('Column', 'embedpress'),
[2707] Fix | Delete
'type' => \Elementor\Controls_Manager::SELECT,
[2708] Fix | Delete
'label_block' => false,
[2709] Fix | Delete
'default' => '3',
[2710] Fix | Delete
'options' => [
[2711] Fix | Delete
'2' => esc_html__('2', 'embedpress'),
[2712] Fix | Delete
'3' => esc_html__('3', 'embedpress'),
[2713] Fix | Delete
'4' => esc_html__('4', 'embedpress'),
[2714] Fix | Delete
'6' => esc_html__('6', 'embedpress'),
[2715] Fix | Delete
'auto' => esc_html__('Auto', 'embedpress'),
[2716] Fix | Delete
],
[2717] Fix | Delete
'condition' => [
[2718] Fix | Delete
'instaLayout' => ['insta-grid', 'insta-masonry'],
[2719] Fix | Delete
'embedpress_pro_embeded_source' => 'instafeed'
[2720] Fix | Delete
],
[2721] Fix | Delete
]
[2722] Fix | Delete
);
[2723] Fix | Delete
[2724] Fix | Delete
$this->add_control(
[2725] Fix | Delete
'instafeedColumnsGap',
[2726] Fix | Delete
[
[2727] Fix | Delete
'label' => esc_html__( 'Column Gap', 'embedpress' ),
[2728] Fix | Delete
'type' => \Elementor\Controls_Manager::NUMBER,
[2729] Fix | Delete
'min' => 0,
[2730] Fix | Delete
'max' => 100,
[2731] Fix | Delete
'step' => 1,
[2732] Fix | Delete
'default' => 5,
[2733] Fix | Delete
'condition' => [
[2734] Fix | Delete
'instaLayout' => [ 'insta-masonry', 'insta-grid' ],
[2735] Fix | Delete
],
[2736] Fix | Delete
]
[2737] Fix | Delete
);
[2738] Fix | Delete
[2739] Fix | Delete
$this->add_control(
[2740] Fix | Delete
'embedpress_instafeed_slide_show',
[2741] Fix | Delete
[
[2742] Fix | Delete
'type' => \Elementor\Controls_Manager::SELECT,
[2743] Fix | Delete
'label' => esc_html__( 'Slides to Show', 'embedpress' ),
[2744] Fix | Delete
'options' => [
[2745] Fix | Delete
'1' => esc_html__( '1', 'embedpress' ),
[2746] Fix | Delete
'2' => esc_html__( '2', 'embedpress' ),
[2747] Fix | Delete
'3' => esc_html__( '3', 'embedpress' ),
[2748] Fix | Delete
'4' => esc_html__( '4', 'embedpress' ),
[2749] Fix | Delete
'5' => esc_html__( '5', 'embedpress' ),
[2750] Fix | Delete
'6' => esc_html__( '6', 'embedpress' ),
[2751] Fix | Delete
'7' => esc_html__( '7', 'embedpress' ),
[2752] Fix | Delete
'8' => esc_html__( '8', 'embedpress' ),
[2753] Fix | Delete
'9' => esc_html__( '9', 'embedpress' ),
[2754] Fix | Delete
'10' => esc_html__( '10', 'embedpress' ),
[2755] Fix | Delete
],
[2756] Fix | Delete
'default' => '5',
[2757] Fix | Delete
'condition' => [
[2758] Fix | Delete
'embedpress_pro_embeded_source' => 'instafeed',
[2759] Fix | Delete
'instaLayout' => 'insta-carousel'
[2760] Fix | Delete
],
[2761] Fix | Delete
]
[2762] Fix | Delete
);
[2763] Fix | Delete
[2764] Fix | Delete
$this->add_control(
[2765] Fix | Delete
'embedpress_carousel_autoplay',
[2766] Fix | Delete
[
[2767] Fix | Delete
'label' => __('Auto Play', 'embedpress'),
[2768] Fix | Delete
'type' => Controls_Manager::SWITCHER,
[2769] Fix | Delete
'label_block' => false,
[2770] Fix | Delete
'return_value' => 'yes',
[2771] Fix | Delete
'default' => '',
[2772] Fix | Delete
'condition' => [
[2773] Fix | Delete
'embedpress_pro_embeded_source' => 'instafeed',
[2774] Fix | Delete
'instaLayout' => 'insta-carousel'
[2775] Fix | Delete
],
[2776] Fix | Delete
]
[2777] Fix | Delete
);
[2778] Fix | Delete
$this->add_control(
[2779] Fix | Delete
'embedpress_carousel_autoplay_speed',
[2780] Fix | Delete
[
[2781] Fix | Delete
'label' => esc_html__( 'Autoplay Speed(ms)', 'embedpress' ),
[2782] Fix | Delete
'type' => \Elementor\Controls_Manager::NUMBER,
[2783] Fix | Delete
'min' => 0,
[2784] Fix | Delete
'step' => 1,
[2785] Fix | Delete
'default' => 0,
[2786] Fix | Delete
'condition' => [
[2787] Fix | Delete
'embedpress_pro_embeded_source' => 'instafeed',
[2788] Fix | Delete
'instaLayout' => 'insta-carousel'
[2789] Fix | Delete
],
[2790] Fix | Delete
]
[2791] Fix | Delete
);
[2792] Fix | Delete
$this->add_control(
[2793] Fix | Delete
'embedpress_carousel_transition_speed',
[2794] Fix | Delete
[
[2795] Fix | Delete
'label' => esc_html__( 'Transition Speed(ms)', 'embedpress' ),
[2796] Fix | Delete
'type' => \Elementor\Controls_Manager::NUMBER,
[2797] Fix | Delete
'min' => 0,
[2798] Fix | Delete
'step' => 1,
[2799] Fix | Delete
'default' => 0,
[2800] Fix | Delete
'condition' => [
[2801] Fix | Delete
'embedpress_pro_embeded_source' => 'instafeed',
[2802] Fix | Delete
'instaLayout' => 'insta-carousel'
[2803] Fix | Delete
],
[2804] Fix | Delete
]
[2805] Fix | Delete
);
[2806] Fix | Delete
$this->add_control(
[2807] Fix | Delete
'embedpress_carousel_loop',
[2808] Fix | Delete
[
[2809] Fix | Delete
'label' => __('Loop', 'embedpress'),
[2810] Fix | Delete
'type' => Controls_Manager::SWITCHER,
[2811] Fix | Delete
'label_block' => false,
[2812] Fix | Delete
'return_value' => 'yes',
[2813] Fix | Delete
'default' => 'yes',
[2814] Fix | Delete
'condition' => [
[2815] Fix | Delete
'embedpress_pro_embeded_source' => 'instafeed',
[2816] Fix | Delete
'instaLayout' => 'insta-carousel'
[2817] Fix | Delete
],
[2818] Fix | Delete
]
[2819] Fix | Delete
);
[2820] Fix | Delete
[2821] Fix | Delete
$this->add_control(
[2822] Fix | Delete
'embedpress_carousel_arrows',
[2823] Fix | Delete
[
[2824] Fix | Delete
'label' => __('Arrows', 'embedpress'),
[2825] Fix | Delete
'type' => Controls_Manager::SWITCHER,
[2826] Fix | Delete
'label_block' => false,
[2827] Fix | Delete
'return_value' => 'yes',
[2828] Fix | Delete
'default' => 'yes',
[2829] Fix | Delete
'condition' => [
[2830] Fix | Delete
'embedpress_pro_embeded_source' => 'instafeed',
[2831] Fix | Delete
'instaLayout' => 'insta-carousel'
[2832] Fix | Delete
],
[2833] Fix | Delete
]
[2834] Fix | Delete
);
[2835] Fix | Delete
[2836] Fix | Delete
[2837] Fix | Delete
$this->add_control(
[2838] Fix | Delete
'embedpress_carousel_spacing',
[2839] Fix | Delete
[
[2840] Fix | Delete
'label' => esc_html__( 'Spacing', 'embedpress' ),
[2841] Fix | Delete
'type' => \Elementor\Controls_Manager::NUMBER,
[2842] Fix | Delete
'min' => 0,
[2843] Fix | Delete
'max' => 100,
[2844] Fix | Delete
'step' => 1,
[2845] Fix | Delete
'default' => 0,
[2846] Fix | Delete
'condition' => [
[2847] Fix | Delete
'embedpress_pro_embeded_source' => 'instafeed',
[2848] Fix | Delete
'instaLayout' => 'insta-carousel'
[2849] Fix | Delete
],
[2850] Fix | Delete
]
[2851] Fix | Delete
);
[2852] Fix | Delete
[2853] Fix | Delete
$this->add_control(
[2854] Fix | Delete
'instafeedPostsPerPage',
[2855] Fix | Delete
[
[2856] Fix | Delete
'label' => esc_html__( 'Posts Per Page', 'embedpress' ),
[2857] Fix | Delete
'type' => \Elementor\Controls_Manager::NUMBER,
[2858] Fix | Delete
'min' => 1,
[2859] Fix | Delete
'max' => 100,
[2860] Fix | Delete
'step' => 12,
[2861] Fix | Delete
'default' => 12,
[2862] Fix | Delete
'condition' => [
[2863] Fix | Delete
'embedpress_pro_embeded_source' => 'instafeed',
[2864] Fix | Delete
],
[2865] Fix | Delete
]
[2866] Fix | Delete
);
[2867] Fix | Delete
[2868] Fix | Delete
$this->add_control(
[2869] Fix | Delete
'instafeedTab',
[2870] Fix | Delete
[
[2871] Fix | Delete
'label' => sprintf(__('Feed Tab %s', 'embedpress'), $this->pro_text),
[2872] Fix | Delete
'type' => Controls_Manager::SWITCHER,
[2873] Fix | Delete
'classes' => $this->pro_class,
[2874] Fix | Delete
'label_block' => false,
[2875] Fix | Delete
'return_value' => 'yes',
[2876] Fix | Delete
'default' => 'yes',
[2877] Fix | Delete
'condition' => $condition,
[2878] Fix | Delete
]
[2879] Fix | Delete
);
[2880] Fix | Delete
[2881] Fix | Delete
$this->add_control(
[2882] Fix | Delete
'instafeedLikesCount',
[2883] Fix | Delete
[
[2884] Fix | Delete
'label' => sprintf(__('Like Count %s', 'embedpress'), $this->pro_text),
[2885] Fix | Delete
'type' => Controls_Manager::SWITCHER,
[2886] Fix | Delete
'classes' => $this->pro_class,
[2887] Fix | Delete
'label_block' => false,
[2888] Fix | Delete
'return_value' => 'true',
[2889] Fix | Delete
'default' => 'true',
[2890] Fix | Delete
'conditions' => [
[2891] Fix | Delete
'relation' => 'or',
[2892] Fix | Delete
'terms' => [
[2893] Fix | Delete
[
[2894] Fix | Delete
'name' => 'instafeedFeedType',
[2895] Fix | Delete
'operator' => '===',
[2896] Fix | Delete
'value' => 'hashtag_type',
[2897] Fix | Delete
],
[2898] Fix | Delete
[
[2899] Fix | Delete
'relation' => 'and',
[2900] Fix | Delete
'terms' => [
[2901] Fix | Delete
[
[2902] Fix | Delete
'name' => 'instafeedAccountType',
[2903] Fix | Delete
'operator' => '===',
[2904] Fix | Delete
'value' => 'business',
[2905] Fix | Delete
],
[2906] Fix | Delete
[
[2907] Fix | Delete
'name' => 'embedpress_pro_embeded_source',
[2908] Fix | Delete
'operator' => '===',
[2909] Fix | Delete
'value' => 'instafeed',
[2910] Fix | Delete
],
[2911] Fix | Delete
],
[2912] Fix | Delete
],
[2913] Fix | Delete
],
[2914] Fix | Delete
],
[2915] Fix | Delete
]
[2916] Fix | Delete
);
[2917] Fix | Delete
[2918] Fix | Delete
$this->add_control(
[2919] Fix | Delete
'instafeedCommentsCount',
[2920] Fix | Delete
[
[2921] Fix | Delete
'label' => sprintf(__('Comments Count %s', 'embedpress'), $this->pro_text),
[2922] Fix | Delete
'type' => Controls_Manager::SWITCHER,
[2923] Fix | Delete
'classes' => $this->pro_class,
[2924] Fix | Delete
'label_block' => false,
[2925] Fix | Delete
'return_value' => 'true',
[2926] Fix | Delete
'default' => 'true',
[2927] Fix | Delete
[2928] Fix | Delete
'conditions' => [
[2929] Fix | Delete
'relation' => 'or',
[2930] Fix | Delete
'terms' => [
[2931] Fix | Delete
[
[2932] Fix | Delete
'name' => 'instafeedFeedType',
[2933] Fix | Delete
'operator' => '===',
[2934] Fix | Delete
'value' => 'hashtag_type',
[2935] Fix | Delete
],
[2936] Fix | Delete
[
[2937] Fix | Delete
'relation' => 'and',
[2938] Fix | Delete
'terms' => [
[2939] Fix | Delete
[
[2940] Fix | Delete
'name' => 'instafeedAccountType',
[2941] Fix | Delete
'operator' => '===',
[2942] Fix | Delete
'value' => 'business',
[2943] Fix | Delete
],
[2944] Fix | Delete
[
[2945] Fix | Delete
'name' => 'embedpress_pro_embeded_source',
[2946] Fix | Delete
'operator' => '===',
[2947] Fix | Delete
'value' => 'instafeed',
[2948] Fix | Delete
],
[2949] Fix | Delete
],
[2950] Fix | Delete
],
[2951] Fix | Delete
],
[2952] Fix | Delete
],
[2953] Fix | Delete
[2954] Fix | Delete
]
[2955] Fix | Delete
);
[2956] Fix | Delete
[2957] Fix | Delete
[2958] Fix | Delete
$this->add_control(
[2959] Fix | Delete
'instafeedPopup',
[2960] Fix | Delete
[
[2961] Fix | Delete
'label' => __('Popup', 'embedpress'),
[2962] Fix | Delete
'type' => Controls_Manager::SWITCHER,
[2963] Fix | Delete
'label_block' => false,
[2964] Fix | Delete
'return_value' => 'yes',
[2965] Fix | Delete
'default' => 'yes',
[2966] Fix | Delete
'condition' => $condition,
[2967] Fix | Delete
]
[2968] Fix | Delete
);
[2969] Fix | Delete
[2970] Fix | Delete
$this->add_control(
[2971] Fix | Delete
'instafeedPopupFollowBtn',
[2972] Fix | Delete
[
[2973] Fix | Delete
'label' => __('Popup Follow Button', 'embedpress'),
[2974] Fix | Delete
'type' => Controls_Manager::SWITCHER,
[2975] Fix | Delete
'label_block' => false,
[2976] Fix | Delete
'return_value' => 'yes',
[2977] Fix | Delete
'default' => 'yes',
[2978] Fix | Delete
'condition' => [
[2979] Fix | Delete
'embedpress_pro_embeded_source' => 'instafeed',
[2980] Fix | Delete
'instafeedPopup' => 'yes'
[2981] Fix | Delete
],
[2982] Fix | Delete
]
[2983] Fix | Delete
);
[2984] Fix | Delete
[2985] Fix | Delete
$this->add_control(
[2986] Fix | Delete
'instafeedPopupFollowBtnLabel',
[2987] Fix | Delete
[
[2988] Fix | Delete
'type' => \Elementor\Controls_Manager::TEXT,
[2989] Fix | Delete
'label' => esc_html__('Follow Button Label', 'embedpress'),
[2990] Fix | Delete
'placeholder' => 'Follow',
[2991] Fix | Delete
'default' => 'Follow',
[2992] Fix | Delete
'separator' => 'after',
[2993] Fix | Delete
'condition' => [
[2994] Fix | Delete
'instafeedPopupFollowBtn' => 'yes',
[2995] Fix | Delete
'instafeedPopup' => 'yes',
[2996] Fix | Delete
'embedpress_pro_embeded_source' => 'instafeed'
[2997] Fix | Delete
],
[2998] Fix | Delete
'ai' => $disableAi
[2999] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function