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
/home/sportsfe.../httpdocs/clone/wp-conte.../themes/Divi/includes/builder/module
File: CircleCounter.php
<?php
[0] Fix | Delete
[1] Fix | Delete
class ET_Builder_Module_Circle_Counter extends ET_Builder_Module {
[2] Fix | Delete
function init() {
[3] Fix | Delete
$this->name = esc_html__( 'Circle Counter', 'et_builder' );
[4] Fix | Delete
$this->plural = esc_html__( 'Circle Counters', 'et_builder' );
[5] Fix | Delete
$this->slug = 'et_pb_circle_counter';
[6] Fix | Delete
$this->vb_support = 'on';
[7] Fix | Delete
[8] Fix | Delete
$this->main_css_element = '%%order_class%%.et_pb_circle_counter';
[9] Fix | Delete
[10] Fix | Delete
$this->settings_modal_toggles = array(
[11] Fix | Delete
'general' => array(
[12] Fix | Delete
'toggles' => array(
[13] Fix | Delete
'main_content' => et_builder_i18n( 'Text' ),
[14] Fix | Delete
'elements' => et_builder_i18n( 'Elements' ),
[15] Fix | Delete
),
[16] Fix | Delete
),
[17] Fix | Delete
'advanced' => array(
[18] Fix | Delete
'toggles' => array(
[19] Fix | Delete
'circle' => et_builder_i18n( 'Circle' ),
[20] Fix | Delete
'text' => array(
[21] Fix | Delete
'title' => et_builder_i18n( 'Text' ),
[22] Fix | Delete
'priority' => 49,
[23] Fix | Delete
),
[24] Fix | Delete
),
[25] Fix | Delete
),
[26] Fix | Delete
);
[27] Fix | Delete
[28] Fix | Delete
$this->advanced_fields = array(
[29] Fix | Delete
'fonts' => array(
[30] Fix | Delete
'title' => array(
[31] Fix | Delete
'label' => et_builder_i18n( 'Title' ),
[32] Fix | Delete
'css' => array(
[33] Fix | Delete
'main' => "{$this->main_css_element} h3, {$this->main_css_element} h1.et_pb_module_header, {$this->main_css_element} h2.et_pb_module_header, {$this->main_css_element} h4.et_pb_module_header, {$this->main_css_element} h5.et_pb_module_header, {$this->main_css_element} h6.et_pb_module_header, {$this->main_css_element} h3 a, {$this->main_css_element} h1.et_pb_module_header a, {$this->main_css_element} h2.et_pb_module_header a, {$this->main_css_element} h4.et_pb_module_header a, {$this->main_css_element} h5.et_pb_module_header a, {$this->main_css_element} h6.et_pb_module_header a",
[34] Fix | Delete
'important' => 'plugin_only',
[35] Fix | Delete
),
[36] Fix | Delete
'header_level' => array(
[37] Fix | Delete
'default' => 'h3',
[38] Fix | Delete
),
[39] Fix | Delete
),
[40] Fix | Delete
'number' => array(
[41] Fix | Delete
'label' => esc_html__( 'Number', 'et_builder' ),
[42] Fix | Delete
'hide_line_height' => true,
[43] Fix | Delete
'css' => array(
[44] Fix | Delete
'main' => "{$this->main_css_element} .percent p",
[45] Fix | Delete
),
[46] Fix | Delete
),
[47] Fix | Delete
),
[48] Fix | Delete
'margin_padding' => array(
[49] Fix | Delete
'css' => array(
[50] Fix | Delete
'important' => array( 'custom_margin' ),
[51] Fix | Delete
),
[52] Fix | Delete
'custom_margin' => array(
[53] Fix | Delete
'default' => '0px|auto|30px|auto|false|false',
[54] Fix | Delete
),
[55] Fix | Delete
),
[56] Fix | Delete
'max_width' => array(
[57] Fix | Delete
'options' => array(
[58] Fix | Delete
'max_width' => array(
[59] Fix | Delete
'default' => '225px',
[60] Fix | Delete
'range_settings' => array(
[61] Fix | Delete
'min' => '0',
[62] Fix | Delete
'max' => '450',
[63] Fix | Delete
'step' => '1',
[64] Fix | Delete
),
[65] Fix | Delete
),
[66] Fix | Delete
'module_alignment' => array(
[67] Fix | Delete
'depends_show_if_not' => array(
[68] Fix | Delete
'',
[69] Fix | Delete
'225px',
[70] Fix | Delete
),
[71] Fix | Delete
),
[72] Fix | Delete
),
[73] Fix | Delete
),
[74] Fix | Delete
'text' => array(
[75] Fix | Delete
'use_background_layout' => true,
[76] Fix | Delete
'css' => array(
[77] Fix | Delete
'main' => '%%order_class%% .percent p, %%order_class%% .et_pb_module_header'
[78] Fix | Delete
),
[79] Fix | Delete
'options' => array(
[80] Fix | Delete
'text_orientation' => array(
[81] Fix | Delete
'default_on_front' => 'center',
[82] Fix | Delete
),
[83] Fix | Delete
'background_layout' => array(
[84] Fix | Delete
'default_on_front' => 'light',
[85] Fix | Delete
),
[86] Fix | Delete
),
[87] Fix | Delete
),
[88] Fix | Delete
'filters' => array(
[89] Fix | Delete
'css' => array(
[90] Fix | Delete
'main' => '%%order_class%%',
[91] Fix | Delete
),
[92] Fix | Delete
),
[93] Fix | Delete
'button' => false,
[94] Fix | Delete
'position_fields' => array(
[95] Fix | Delete
'default' => 'relative',
[96] Fix | Delete
),
[97] Fix | Delete
);
[98] Fix | Delete
[99] Fix | Delete
$this->custom_css_fields = array(
[100] Fix | Delete
'percent' => array(
[101] Fix | Delete
'label' => esc_html__( 'Percent Container', 'et_builder' ),
[102] Fix | Delete
'selector' => '.percent',
[103] Fix | Delete
),
[104] Fix | Delete
'circle_counter_title' => array(
[105] Fix | Delete
'label' => esc_html__( 'Circle Counter Title', 'et_builder' ),
[106] Fix | Delete
'selector' => 'h3',
[107] Fix | Delete
),
[108] Fix | Delete
'percent_text' => array(
[109] Fix | Delete
'label' => esc_html__( 'Percent Text', 'et_builder' ),
[110] Fix | Delete
'selector' => '.percent p',
[111] Fix | Delete
),
[112] Fix | Delete
);
[113] Fix | Delete
[114] Fix | Delete
$this->help_videos = array(
[115] Fix | Delete
array(
[116] Fix | Delete
'id' => 'GTslkWWbda0',
[117] Fix | Delete
'name' => esc_html__( 'An introduction to the Circle Counter module', 'et_builder' ),
[118] Fix | Delete
),
[119] Fix | Delete
);
[120] Fix | Delete
}
[121] Fix | Delete
[122] Fix | Delete
function get_fields() {
[123] Fix | Delete
$fields = array(
[124] Fix | Delete
'title' => array(
[125] Fix | Delete
'label' => et_builder_i18n( 'Title' ),
[126] Fix | Delete
'type' => 'text',
[127] Fix | Delete
'option_category' => 'basic_option',
[128] Fix | Delete
'description' => esc_html__( 'Input a title for the circle counter.', 'et_builder' ),
[129] Fix | Delete
'toggle_slug' => 'main_content',
[130] Fix | Delete
'dynamic_content' => 'text',
[131] Fix | Delete
'mobile_options' => true,
[132] Fix | Delete
'hover' => 'tabs',
[133] Fix | Delete
),
[134] Fix | Delete
'number' => array(
[135] Fix | Delete
'label' => esc_html__( 'Number', 'et_builder' ),
[136] Fix | Delete
'type' => 'text',
[137] Fix | Delete
'option_category' => 'basic_option',
[138] Fix | Delete
'number_validation' => true,
[139] Fix | Delete
'value_type' => 'float',
[140] Fix | Delete
'value_min' => 0,
[141] Fix | Delete
'value_max' => 100,
[142] Fix | Delete
'description' => et_get_safe_localization( __( "Define a number for the circle counter. (Don't include the percentage sign, use the option below.). <strong>Note: You can use only natural numbers from 0 to 100</strong>", 'et_builder' ) ),
[143] Fix | Delete
'toggle_slug' => 'main_content',
[144] Fix | Delete
'default_on_front' => '0',
[145] Fix | Delete
'mobile_options' => true,
[146] Fix | Delete
'hover' => 'tabs',
[147] Fix | Delete
),
[148] Fix | Delete
'percent_sign' => array(
[149] Fix | Delete
'label' => esc_html__( 'Percent Sign', 'et_builder' ),
[150] Fix | Delete
'type' => 'yes_no_button',
[151] Fix | Delete
'option_category' => 'configuration',
[152] Fix | Delete
'options' => array(
[153] Fix | Delete
'on' => et_builder_i18n( 'On' ),
[154] Fix | Delete
'off' => et_builder_i18n( 'Off' ),
[155] Fix | Delete
),
[156] Fix | Delete
'toggle_slug' => 'elements',
[157] Fix | Delete
'description' => esc_html__( 'Here you can choose whether the percent sign should be added after the number set above.', 'et_builder' ),
[158] Fix | Delete
'default_on_front' => 'on',
[159] Fix | Delete
'mobile_options' => true,
[160] Fix | Delete
'hover' => 'tabs',
[161] Fix | Delete
),
[162] Fix | Delete
'bar_bg_color' => array(
[163] Fix | Delete
'default' => et_builder_accent_color(),
[164] Fix | Delete
'label' => esc_html__( 'Circle Color', 'et_builder' ),
[165] Fix | Delete
'type' => 'color-alpha',
[166] Fix | Delete
'tab_slug' => 'advanced',
[167] Fix | Delete
'toggle_slug' => 'circle',
[168] Fix | Delete
'description' => esc_html__( 'This will change the fill color for the bar.', 'et_builder' ),
[169] Fix | Delete
'mobile_options' => true,
[170] Fix | Delete
'hover' => 'tabs',
[171] Fix | Delete
),
[172] Fix | Delete
'circle_color' => array(
[173] Fix | Delete
'label' => esc_html__( 'Circle Background Color', 'et_builder' ),
[174] Fix | Delete
'description' => esc_html__( 'Pick a color to be used in the unfilled space of the circle.', 'et_builder' ),
[175] Fix | Delete
'type' => 'color-alpha',
[176] Fix | Delete
'custom_color' => true,
[177] Fix | Delete
'tab_slug' => 'advanced',
[178] Fix | Delete
'toggle_slug' => 'circle',
[179] Fix | Delete
'mobile_options' => true,
[180] Fix | Delete
'hover' => 'tabs',
[181] Fix | Delete
),
[182] Fix | Delete
'circle_color_alpha' => array(
[183] Fix | Delete
'label' => esc_html__( 'Circle Background Opacity', 'et_builder' ),
[184] Fix | Delete
'description' => esc_html__( 'Decrease the opacity of the unfilled space of the circle to make the color fade into the background.', 'et_builder' ),
[185] Fix | Delete
'type' => 'range',
[186] Fix | Delete
'option_category' => 'configuration',
[187] Fix | Delete
'range_settings' => array(
[188] Fix | Delete
'min' => '0.1',
[189] Fix | Delete
'max' => '1.0',
[190] Fix | Delete
'step' => '0.05',
[191] Fix | Delete
'min_limit' => '0.0',
[192] Fix | Delete
'max_limit' => '1.0',
[193] Fix | Delete
),
[194] Fix | Delete
'tab_slug' => 'advanced',
[195] Fix | Delete
'toggle_slug' => 'circle',
[196] Fix | Delete
'unitless' => true,
[197] Fix | Delete
'mobile_options' => true,
[198] Fix | Delete
'hover' => 'tabs',
[199] Fix | Delete
),
[200] Fix | Delete
);
[201] Fix | Delete
return $fields;
[202] Fix | Delete
}
[203] Fix | Delete
[204] Fix | Delete
function render( $attrs, $content = null, $render_slug ) {
[205] Fix | Delete
wp_enqueue_script( 'easypiechart' );
[206] Fix | Delete
[207] Fix | Delete
$multi_view = et_pb_multi_view_options( $this );
[208] Fix | Delete
$number = $multi_view->get_value( 'number' );
[209] Fix | Delete
$percent_sign = $this->props['percent_sign'];
[210] Fix | Delete
$title = $multi_view->render_element( array(
[211] Fix | Delete
'tag' => et_pb_process_header_level( $this->props['title_level'], 'h3' ),
[212] Fix | Delete
'content' => '{{title}}',
[213] Fix | Delete
'attrs' => array(
[214] Fix | Delete
'class' => 'et_pb_module_header',
[215] Fix | Delete
),
[216] Fix | Delete
) );
[217] Fix | Delete
$custom_padding = $this->props['custom_padding'];
[218] Fix | Delete
$custom_padding_tablet = $this->props['custom_padding_tablet'];
[219] Fix | Delete
$custom_padding_phone = $this->props['custom_padding_phone'];
[220] Fix | Delete
$header_level = $this->props['title_level'];
[221] Fix | Delete
[222] Fix | Delete
$bar_bg_color = $this->props['bar_bg_color'];
[223] Fix | Delete
$bar_bg_color_values = et_pb_responsive_options()->get_property_values( $this->props, 'bar_bg_color' );
[224] Fix | Delete
$bar_bg_color_tablet = isset( $bar_bg_color_values['tablet'] ) ? $bar_bg_color_values['tablet'] : '';
[225] Fix | Delete
$bar_bg_color_phone = isset( $bar_bg_color_values['phone'] ) ? $bar_bg_color_values['phone'] : '';
[226] Fix | Delete
$bar_bg_color_hover = et_pb_hover_options()->get_value( 'bar_bg_color', $this->props, '' );
[227] Fix | Delete
$bar_bg_color_hover_enabled = et_builder_is_hover_enabled( 'bar_bg_color', $this->props );
[228] Fix | Delete
[229] Fix | Delete
$circle_color = $this->props['circle_color'];
[230] Fix | Delete
$circle_color_values = et_pb_responsive_options()->get_property_values( $this->props, 'circle_color' );
[231] Fix | Delete
$circle_color_tablet = isset( $circle_color_values['tablet'] ) ? $circle_color_values['tablet'] : '';
[232] Fix | Delete
$circle_color_phone = isset( $circle_color_values['phone'] ) ? $circle_color_values['phone'] : '';
[233] Fix | Delete
$circle_color_hover = et_pb_hover_options()->get_value( 'circle_color', $this->props, '' );
[234] Fix | Delete
$circle_color_hover_enabled = et_builder_is_hover_enabled( 'circle_color', $this->props );
[235] Fix | Delete
[236] Fix | Delete
$circle_color_alpha = $this->props['circle_color_alpha'];
[237] Fix | Delete
$circle_color_alpha_values = et_pb_responsive_options()->get_property_values( $this->props, 'circle_color_alpha' );
[238] Fix | Delete
$circle_color_alpha_tablet = isset( $circle_color_alpha_values['tablet'] ) ? $circle_color_alpha_values['tablet'] : '';
[239] Fix | Delete
$circle_color_alpha_phone = isset( $circle_color_alpha_values['phone'] ) ? $circle_color_alpha_values['phone'] : '';
[240] Fix | Delete
$circle_color_alpha_hover = et_pb_hover_options()->get_value( 'circle_color_alpha', $this->props, '' );
[241] Fix | Delete
$circle_color_alpha_hover_enable = et_builder_is_hover_enabled( 'circle_color_alpha', $this->props );
[242] Fix | Delete
[243] Fix | Delete
$number = str_ireplace( '%', '', $number );
[244] Fix | Delete
[245] Fix | Delete
$video_background = $this->video_background();
[246] Fix | Delete
$parallax_image_background = $this->get_parallax_image_background();
[247] Fix | Delete
[248] Fix | Delete
$bar_bg_color_data_tablet = '' !== $bar_bg_color_tablet ?
[249] Fix | Delete
sprintf( ' data-bar-bg-color-tablet="%1$s"', esc_attr( $bar_bg_color_tablet ) )
[250] Fix | Delete
: '';
[251] Fix | Delete
$bar_bg_color_data_phone = '' !== $bar_bg_color_phone ?
[252] Fix | Delete
sprintf( ' data-bar-bg-color-phone="%1$s"', esc_attr( $bar_bg_color_phone ) )
[253] Fix | Delete
: '';
[254] Fix | Delete
$bar_bg_color_data_hover = '' !== $bar_bg_color_hover && $bar_bg_color_hover_enabled ?
[255] Fix | Delete
sprintf( ' data-bar-bg-color-hover="%1$s"', esc_attr( $bar_bg_color_hover ) )
[256] Fix | Delete
: '';
[257] Fix | Delete
[258] Fix | Delete
$circle_color_data = '' !== $circle_color ?
[259] Fix | Delete
sprintf( ' data-color="%1$s"', esc_attr( $circle_color ) )
[260] Fix | Delete
: '';
[261] Fix | Delete
$circle_color_data_tablet = '' !== $circle_color_tablet ?
[262] Fix | Delete
sprintf( ' data-color-tablet="%1$s"', esc_attr( $circle_color_tablet ) )
[263] Fix | Delete
: '';
[264] Fix | Delete
$circle_color_data_phone = '' !== $circle_color_phone ?
[265] Fix | Delete
sprintf( ' data-color-phone="%1$s"', esc_attr( $circle_color_phone ) )
[266] Fix | Delete
: '';
[267] Fix | Delete
$circle_color_data_hover = '' !== $circle_color_hover && $circle_color_hover_enabled ?
[268] Fix | Delete
sprintf( ' data-color-hover="%1$s"', esc_attr( $circle_color_hover ) )
[269] Fix | Delete
: '';
[270] Fix | Delete
[271] Fix | Delete
$circle_color_alpha_data = '' !== $circle_color_alpha ?
[272] Fix | Delete
sprintf( ' data-alpha="%1$s"', esc_attr( $circle_color_alpha ) )
[273] Fix | Delete
: '';
[274] Fix | Delete
$circle_color_alpha_data_tablet = '' !== $circle_color_alpha_tablet ?
[275] Fix | Delete
sprintf( ' data-alpha-tablet="%1$s"', esc_attr( $circle_color_alpha_tablet ) )
[276] Fix | Delete
: '';
[277] Fix | Delete
$circle_color_alpha_data_phone = '' !== $circle_color_alpha_phone ?
[278] Fix | Delete
sprintf( ' data-alpha-phone="%1$s"', esc_attr( $circle_color_alpha_phone ) )
[279] Fix | Delete
: '';
[280] Fix | Delete
$circle_color_alpha_data_hover = '' !== $circle_color_alpha_hover && $circle_color_alpha_hover_enable ?
[281] Fix | Delete
sprintf( ' data-alpha-hover="%1$s"', esc_attr( $circle_color_alpha_hover ) )
[282] Fix | Delete
: '';
[283] Fix | Delete
[284] Fix | Delete
// Background layout data attributes.
[285] Fix | Delete
$data_background_layout = et_pb_background_layout_options()->get_background_layout_attrs( $this->props );
[286] Fix | Delete
[287] Fix | Delete
$multi_view_data_attr = $multi_view->render_attrs( array(
[288] Fix | Delete
'attrs' => array(
[289] Fix | Delete
'data-number-value' => '{{number}}',
[290] Fix | Delete
'data-percent-sign' => '{{percent_sign}}',
[291] Fix | Delete
),
[292] Fix | Delete
'classes' => array(
[293] Fix | Delete
'et_pb_with_title' => array(
[294] Fix | Delete
'title' => '__not_empty',
[295] Fix | Delete
),
[296] Fix | Delete
),
[297] Fix | Delete
) );
[298] Fix | Delete
[299] Fix | Delete
// Module classnames
[300] Fix | Delete
$this->add_classname( array(
[301] Fix | Delete
'container-width-change-notify',
[302] Fix | Delete
$this->get_text_orientation_classname(),
[303] Fix | Delete
) );
[304] Fix | Delete
[305] Fix | Delete
// Background layout class names.
[306] Fix | Delete
$background_layout_class_names = et_pb_background_layout_options()->get_background_layout_class( $this->props );
[307] Fix | Delete
$this->add_classname( $background_layout_class_names );
[308] Fix | Delete
[309] Fix | Delete
if ( '' !== $title ) {
[310] Fix | Delete
$this->add_classname( 'et_pb_with_title' );
[311] Fix | Delete
}
[312] Fix | Delete
[313] Fix | Delete
$output = sprintf(
[314] Fix | Delete
'<div%1$s class="%2$s"%11$s>
[315] Fix | Delete
<div class="et_pb_circle_counter_inner" data-number-value="%3$s" data-bar-bg-color="%4$s"%7$s%8$s%12$s%13$s%14$s%15$s%16$s%17$s%18$s%19$s%20$s%21$s>
[316] Fix | Delete
%10$s
[317] Fix | Delete
%9$s
[318] Fix | Delete
<div class="percent"%19$s><p><span class="percent-value"></span><span class="percent-sign">%5$s</span></p></div>
[319] Fix | Delete
%6$s
[320] Fix | Delete
</div>
[321] Fix | Delete
</div><!-- .et_pb_circle_counter -->',
[322] Fix | Delete
$this->module_id(),
[323] Fix | Delete
$this->module_classname( $render_slug ),
[324] Fix | Delete
esc_attr( $number ),
[325] Fix | Delete
esc_attr( $bar_bg_color ),
[326] Fix | Delete
( 'on' == $multi_view->get_value( 'percent_sign' ) ? '%' : ''), // #5
[327] Fix | Delete
et_core_esc_previously( $title ),
[328] Fix | Delete
$circle_color_data,
[329] Fix | Delete
$circle_color_alpha_data,
[330] Fix | Delete
$video_background,
[331] Fix | Delete
$parallax_image_background, // #10
[332] Fix | Delete
et_core_esc_previously( $data_background_layout ),
[333] Fix | Delete
$bar_bg_color_data_tablet,
[334] Fix | Delete
$bar_bg_color_data_phone,
[335] Fix | Delete
$circle_color_data_tablet,
[336] Fix | Delete
$circle_color_data_phone, // #15
[337] Fix | Delete
$circle_color_alpha_data_tablet,
[338] Fix | Delete
$circle_color_alpha_data_phone,
[339] Fix | Delete
$bar_bg_color_data_hover,
[340] Fix | Delete
$circle_color_data_hover,
[341] Fix | Delete
$circle_color_alpha_data_hover, // #20
[342] Fix | Delete
$multi_view_data_attr
[343] Fix | Delete
);
[344] Fix | Delete
[345] Fix | Delete
return $output;
[346] Fix | Delete
}
[347] Fix | Delete
[348] Fix | Delete
/**
[349] Fix | Delete
* Filter multi view value.
[350] Fix | Delete
*
[351] Fix | Delete
* @since 3.27.1
[352] Fix | Delete
*
[353] Fix | Delete
* @see ET_Builder_Module_Helper_MultiViewOptions::filter_value
[354] Fix | Delete
*
[355] Fix | Delete
* @param mixed $raw_value Props raw value.
[356] Fix | Delete
* @param array $args {
[357] Fix | Delete
* Context data.
[358] Fix | Delete
*
[359] Fix | Delete
* @type string $context Context param: content, attrs, visibility, classes.
[360] Fix | Delete
* @type string $name Module options props name.
[361] Fix | Delete
* @type string $mode Current data mode: desktop, hover, tablet, phone.
[362] Fix | Delete
* @type string $attr_key Attribute key for attrs context data. Example: src, class, etc.
[363] Fix | Delete
* @type string $attr_sub_key Attribute sub key that availabe when passing attrs value as array such as styes. Example: padding-top, margin-botton, etc.
[364] Fix | Delete
* }
[365] Fix | Delete
* @param ET_Builder_Module_Helper_MultiViewOptions $multi_view Multiview object instance.
[366] Fix | Delete
*
[367] Fix | Delete
* @return mixed
[368] Fix | Delete
*/
[369] Fix | Delete
public function multi_view_filter_value( $raw_value, $args, $multi_view ) {
[370] Fix | Delete
$name = isset( $args['name'] ) ? $args['name'] : '';
[371] Fix | Delete
$mode = isset( $args['mode'] ) ? $args['mode'] : '';
[372] Fix | Delete
[373] Fix | Delete
if ( 'number' === $name ) {
[374] Fix | Delete
$raw_value = str_replace( array( '%' ), '', $raw_value );
[375] Fix | Delete
} else if ( 'percent_sign' === $name ) {
[376] Fix | Delete
$raw_value = 'on' === $raw_value ? '%' : '&nbsp;';
[377] Fix | Delete
}
[378] Fix | Delete
[379] Fix | Delete
$fields_need_escape = array(
[380] Fix | Delete
'title',
[381] Fix | Delete
);
[382] Fix | Delete
[383] Fix | Delete
if ( $raw_value && in_array( $name, $fields_need_escape, true ) ) {
[384] Fix | Delete
return $this->_esc_attr( $multi_view->get_name_by_mode( $name, $mode ), 'none', $raw_value );
[385] Fix | Delete
}
[386] Fix | Delete
[387] Fix | Delete
return $raw_value;
[388] Fix | Delete
}
[389] Fix | Delete
}
[390] Fix | Delete
[391] Fix | Delete
new ET_Builder_Module_Circle_Counter;
[392] Fix | Delete
[393] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function