Edit File by line
/home/barbar84/www/wp-conte.../themes/Divi
File: functions.php
'transport' => 'postMessage',
[4000] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[4001] Fix | Delete
)
[4002] Fix | Delete
);
[4003] Fix | Delete
[4004] Fix | Delete
$wp_customize->add_control(
[4005] Fix | Delete
new ET_Divi_Customize_Color_Alpha_Control(
[4006] Fix | Delete
$wp_customize,
[4007] Fix | Delete
'et_divi[footer_menu_active_link_color]',
[4008] Fix | Delete
array(
[4009] Fix | Delete
'label' => esc_html__( 'Footer Menu Active Link Color', 'Divi' ),
[4010] Fix | Delete
'section' => 'et_divi_footer_menu',
[4011] Fix | Delete
'settings' => 'et_divi[footer_menu_active_link_color]',
[4012] Fix | Delete
)
[4013] Fix | Delete
)
[4014] Fix | Delete
);
[4015] Fix | Delete
[4016] Fix | Delete
$wp_customize->add_setting(
[4017] Fix | Delete
'et_divi[footer_menu_letter_spacing]',
[4018] Fix | Delete
array(
[4019] Fix | Delete
'default' => '0',
[4020] Fix | Delete
'type' => 'option',
[4021] Fix | Delete
'capability' => 'edit_theme_options',
[4022] Fix | Delete
'transport' => 'postMessage',
[4023] Fix | Delete
'sanitize_callback' => 'absint',
[4024] Fix | Delete
)
[4025] Fix | Delete
);
[4026] Fix | Delete
[4027] Fix | Delete
$wp_customize->add_control(
[4028] Fix | Delete
new ET_Divi_Range_Option(
[4029] Fix | Delete
$wp_customize,
[4030] Fix | Delete
'et_divi[footer_menu_letter_spacing]',
[4031] Fix | Delete
array(
[4032] Fix | Delete
'label' => esc_html__( 'Letter Spacing', 'Divi' ),
[4033] Fix | Delete
'section' => 'et_divi_footer_menu',
[4034] Fix | Delete
'type' => 'range',
[4035] Fix | Delete
'input_attrs' => array(
[4036] Fix | Delete
'min' => 0,
[4037] Fix | Delete
'max' => 20,
[4038] Fix | Delete
'step' => 1,
[4039] Fix | Delete
),
[4040] Fix | Delete
)
[4041] Fix | Delete
)
[4042] Fix | Delete
);
[4043] Fix | Delete
[4044] Fix | Delete
$wp_customize->add_setting(
[4045] Fix | Delete
'et_divi[footer_menu_font_style]',
[4046] Fix | Delete
array(
[4047] Fix | Delete
'default' => et_get_option( 'footer_footer_menu_font_style', '' ),
[4048] Fix | Delete
'type' => 'option',
[4049] Fix | Delete
'capability' => 'edit_theme_options',
[4050] Fix | Delete
'transport' => 'postMessage',
[4051] Fix | Delete
'sanitize_callback' => 'et_sanitize_font_style',
[4052] Fix | Delete
)
[4053] Fix | Delete
);
[4054] Fix | Delete
[4055] Fix | Delete
$wp_customize->add_control(
[4056] Fix | Delete
new ET_Divi_Font_Style_Option(
[4057] Fix | Delete
$wp_customize,
[4058] Fix | Delete
'et_divi[footer_menu_font_style]',
[4059] Fix | Delete
array(
[4060] Fix | Delete
'label' => esc_html__( 'Font Style', 'Divi' ),
[4061] Fix | Delete
'section' => 'et_divi_footer_menu',
[4062] Fix | Delete
'type' => 'font_style',
[4063] Fix | Delete
'choices' => et_divi_font_style_choices(),
[4064] Fix | Delete
)
[4065] Fix | Delete
)
[4066] Fix | Delete
);
[4067] Fix | Delete
[4068] Fix | Delete
$wp_customize->add_setting(
[4069] Fix | Delete
'et_divi[footer_menu_font_size]',
[4070] Fix | Delete
array(
[4071] Fix | Delete
'default' => '14',
[4072] Fix | Delete
'type' => 'option',
[4073] Fix | Delete
'capability' => 'edit_theme_options',
[4074] Fix | Delete
'transport' => 'postMessage',
[4075] Fix | Delete
'sanitize_callback' => 'absint',
[4076] Fix | Delete
)
[4077] Fix | Delete
);
[4078] Fix | Delete
[4079] Fix | Delete
$wp_customize->add_control(
[4080] Fix | Delete
new ET_Divi_Range_Option(
[4081] Fix | Delete
$wp_customize,
[4082] Fix | Delete
'et_divi[footer_menu_font_size]',
[4083] Fix | Delete
array(
[4084] Fix | Delete
'label' => esc_html__( 'Font Size', 'Divi' ),
[4085] Fix | Delete
'section' => 'et_divi_footer_menu',
[4086] Fix | Delete
'type' => 'range',
[4087] Fix | Delete
'input_attrs' => array(
[4088] Fix | Delete
'min' => 10,
[4089] Fix | Delete
'max' => 32,
[4090] Fix | Delete
'step' => 1,
[4091] Fix | Delete
),
[4092] Fix | Delete
)
[4093] Fix | Delete
)
[4094] Fix | Delete
);
[4095] Fix | Delete
[4096] Fix | Delete
/* Bottom Bar */
[4097] Fix | Delete
$wp_customize->add_setting(
[4098] Fix | Delete
'et_divi[bottom_bar_background_color]',
[4099] Fix | Delete
array(
[4100] Fix | Delete
'default' => 'rgba(0,0,0,0.32)',
[4101] Fix | Delete
'type' => 'option',
[4102] Fix | Delete
'capability' => 'edit_theme_options',
[4103] Fix | Delete
'transport' => 'postMessage',
[4104] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[4105] Fix | Delete
)
[4106] Fix | Delete
);
[4107] Fix | Delete
[4108] Fix | Delete
$wp_customize->add_control(
[4109] Fix | Delete
new ET_Divi_Customize_Color_Alpha_Control(
[4110] Fix | Delete
$wp_customize,
[4111] Fix | Delete
'et_divi[bottom_bar_background_color]',
[4112] Fix | Delete
array(
[4113] Fix | Delete
'label' => esc_html__( 'Background Color', 'Divi' ),
[4114] Fix | Delete
'section' => 'et_divi_bottom_bar',
[4115] Fix | Delete
'settings' => 'et_divi[bottom_bar_background_color]',
[4116] Fix | Delete
)
[4117] Fix | Delete
)
[4118] Fix | Delete
);
[4119] Fix | Delete
[4120] Fix | Delete
$wp_customize->add_setting(
[4121] Fix | Delete
'et_divi[bottom_bar_text_color]',
[4122] Fix | Delete
array(
[4123] Fix | Delete
'default' => '#666666',
[4124] Fix | Delete
'type' => 'option',
[4125] Fix | Delete
'capability' => 'edit_theme_options',
[4126] Fix | Delete
'transport' => 'postMessage',
[4127] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[4128] Fix | Delete
)
[4129] Fix | Delete
);
[4130] Fix | Delete
[4131] Fix | Delete
$wp_customize->add_control(
[4132] Fix | Delete
new ET_Divi_Customize_Color_Alpha_Control(
[4133] Fix | Delete
$wp_customize,
[4134] Fix | Delete
'et_divi[bottom_bar_text_color]',
[4135] Fix | Delete
array(
[4136] Fix | Delete
'label' => esc_html__( 'Text Color', 'Divi' ),
[4137] Fix | Delete
'section' => 'et_divi_bottom_bar',
[4138] Fix | Delete
'settings' => 'et_divi[bottom_bar_text_color]',
[4139] Fix | Delete
)
[4140] Fix | Delete
)
[4141] Fix | Delete
);
[4142] Fix | Delete
[4143] Fix | Delete
$wp_customize->add_setting(
[4144] Fix | Delete
'et_divi[bottom_bar_font_style]',
[4145] Fix | Delete
array(
[4146] Fix | Delete
'default' => et_get_option( 'footer_bottom_bar_font_style', '' ),
[4147] Fix | Delete
'type' => 'option',
[4148] Fix | Delete
'capability' => 'edit_theme_options',
[4149] Fix | Delete
'transport' => 'postMessage',
[4150] Fix | Delete
'sanitize_callback' => 'et_sanitize_font_style',
[4151] Fix | Delete
)
[4152] Fix | Delete
);
[4153] Fix | Delete
[4154] Fix | Delete
$wp_customize->add_control(
[4155] Fix | Delete
new ET_Divi_Font_Style_Option(
[4156] Fix | Delete
$wp_customize,
[4157] Fix | Delete
'et_divi[bottom_bar_font_style]',
[4158] Fix | Delete
array(
[4159] Fix | Delete
'label' => esc_html__( 'Font Style', 'Divi' ),
[4160] Fix | Delete
'section' => 'et_divi_bottom_bar',
[4161] Fix | Delete
'type' => 'font_style',
[4162] Fix | Delete
'choices' => et_divi_font_style_choices(),
[4163] Fix | Delete
)
[4164] Fix | Delete
)
[4165] Fix | Delete
);
[4166] Fix | Delete
[4167] Fix | Delete
$wp_customize->add_setting(
[4168] Fix | Delete
'et_divi[bottom_bar_font_size]',
[4169] Fix | Delete
array(
[4170] Fix | Delete
'default' => '14',
[4171] Fix | Delete
'type' => 'option',
[4172] Fix | Delete
'capability' => 'edit_theme_options',
[4173] Fix | Delete
'transport' => 'postMessage',
[4174] Fix | Delete
'sanitize_callback' => 'absint',
[4175] Fix | Delete
)
[4176] Fix | Delete
);
[4177] Fix | Delete
[4178] Fix | Delete
$wp_customize->add_control(
[4179] Fix | Delete
new ET_Divi_Range_Option(
[4180] Fix | Delete
$wp_customize,
[4181] Fix | Delete
'et_divi[bottom_bar_font_size]',
[4182] Fix | Delete
array(
[4183] Fix | Delete
'label' => esc_html__( 'Font Size', 'Divi' ),
[4184] Fix | Delete
'section' => 'et_divi_bottom_bar',
[4185] Fix | Delete
'type' => 'range',
[4186] Fix | Delete
'input_attrs' => array(
[4187] Fix | Delete
'min' => 10,
[4188] Fix | Delete
'max' => 32,
[4189] Fix | Delete
'step' => 1,
[4190] Fix | Delete
),
[4191] Fix | Delete
)
[4192] Fix | Delete
)
[4193] Fix | Delete
);
[4194] Fix | Delete
[4195] Fix | Delete
$wp_customize->add_setting(
[4196] Fix | Delete
'et_divi[bottom_bar_social_icon_size]',
[4197] Fix | Delete
array(
[4198] Fix | Delete
'default' => '24',
[4199] Fix | Delete
'type' => 'option',
[4200] Fix | Delete
'capability' => 'edit_theme_options',
[4201] Fix | Delete
'transport' => 'postMessage',
[4202] Fix | Delete
'sanitize_callback' => 'absint',
[4203] Fix | Delete
)
[4204] Fix | Delete
);
[4205] Fix | Delete
[4206] Fix | Delete
$wp_customize->add_control(
[4207] Fix | Delete
new ET_Divi_Range_Option(
[4208] Fix | Delete
$wp_customize,
[4209] Fix | Delete
'et_divi[bottom_bar_social_icon_size]',
[4210] Fix | Delete
array(
[4211] Fix | Delete
'label' => esc_html__( 'Social Icon Size', 'Divi' ),
[4212] Fix | Delete
'section' => 'et_divi_bottom_bar',
[4213] Fix | Delete
'type' => 'range',
[4214] Fix | Delete
'input_attrs' => array(
[4215] Fix | Delete
'min' => 10,
[4216] Fix | Delete
'max' => 32,
[4217] Fix | Delete
'step' => 1,
[4218] Fix | Delete
),
[4219] Fix | Delete
)
[4220] Fix | Delete
)
[4221] Fix | Delete
);
[4222] Fix | Delete
[4223] Fix | Delete
$wp_customize->add_setting(
[4224] Fix | Delete
'et_divi[bottom_bar_social_icon_color]',
[4225] Fix | Delete
array(
[4226] Fix | Delete
'default' => '#666666',
[4227] Fix | Delete
'type' => 'option',
[4228] Fix | Delete
'capability' => 'edit_theme_options',
[4229] Fix | Delete
'transport' => 'postMessage',
[4230] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[4231] Fix | Delete
)
[4232] Fix | Delete
);
[4233] Fix | Delete
[4234] Fix | Delete
$wp_customize->add_control(
[4235] Fix | Delete
new ET_Divi_Customize_Color_Alpha_Control(
[4236] Fix | Delete
$wp_customize,
[4237] Fix | Delete
'et_divi[bottom_bar_social_icon_color]',
[4238] Fix | Delete
array(
[4239] Fix | Delete
'label' => esc_html__( 'Social Icon Color', 'Divi' ),
[4240] Fix | Delete
'section' => 'et_divi_bottom_bar',
[4241] Fix | Delete
'settings' => 'et_divi[bottom_bar_social_icon_color]',
[4242] Fix | Delete
)
[4243] Fix | Delete
)
[4244] Fix | Delete
);
[4245] Fix | Delete
[4246] Fix | Delete
$wp_customize->add_setting(
[4247] Fix | Delete
'et_divi[disable_custom_footer_credits]',
[4248] Fix | Delete
array(
[4249] Fix | Delete
'type' => 'option',
[4250] Fix | Delete
'capability' => 'edit_theme_options',
[4251] Fix | Delete
'transport' => 'postMessage',
[4252] Fix | Delete
'sanitize_callback' => 'wp_validate_boolean',
[4253] Fix | Delete
)
[4254] Fix | Delete
);
[4255] Fix | Delete
[4256] Fix | Delete
$wp_customize->add_control(
[4257] Fix | Delete
'et_divi[disable_custom_footer_credits]',
[4258] Fix | Delete
array(
[4259] Fix | Delete
'label' => esc_html__( 'Disable Footer Credits', 'Divi' ),
[4260] Fix | Delete
'section' => 'et_divi_bottom_bar',
[4261] Fix | Delete
'type' => 'checkbox',
[4262] Fix | Delete
)
[4263] Fix | Delete
);
[4264] Fix | Delete
[4265] Fix | Delete
$wp_customize->add_setting(
[4266] Fix | Delete
'et_divi[custom_footer_credits]',
[4267] Fix | Delete
array(
[4268] Fix | Delete
'default' => '',
[4269] Fix | Delete
'type' => 'option',
[4270] Fix | Delete
'capability' => 'edit_theme_options',
[4271] Fix | Delete
'transport' => 'postMessage',
[4272] Fix | Delete
'sanitize_callback' => 'et_sanitize_html_input_text',
[4273] Fix | Delete
)
[4274] Fix | Delete
);
[4275] Fix | Delete
[4276] Fix | Delete
$wp_customize->add_control(
[4277] Fix | Delete
'et_divi[custom_footer_credits]',
[4278] Fix | Delete
array(
[4279] Fix | Delete
'label' => esc_html__( 'Edit Footer Credits', 'Divi' ),
[4280] Fix | Delete
'section' => 'et_divi_bottom_bar',
[4281] Fix | Delete
'settings' => 'et_divi[custom_footer_credits]',
[4282] Fix | Delete
'type' => 'textarea',
[4283] Fix | Delete
)
[4284] Fix | Delete
);
[4285] Fix | Delete
[4286] Fix | Delete
$wp_customize->add_setting(
[4287] Fix | Delete
'et_divi[all_buttons_font_size]',
[4288] Fix | Delete
array(
[4289] Fix | Delete
'default' => ET_Global_Settings::get_value( 'all_buttons_font_size', 'default' ),
[4290] Fix | Delete
'type' => 'option',
[4291] Fix | Delete
'capability' => 'edit_theme_options',
[4292] Fix | Delete
'transport' => 'postMessage',
[4293] Fix | Delete
'sanitize_callback' => 'absint',
[4294] Fix | Delete
)
[4295] Fix | Delete
);
[4296] Fix | Delete
[4297] Fix | Delete
$wp_customize->add_control(
[4298] Fix | Delete
new ET_Divi_Range_Option(
[4299] Fix | Delete
$wp_customize,
[4300] Fix | Delete
'et_divi[all_buttons_font_size]',
[4301] Fix | Delete
array(
[4302] Fix | Delete
'label' => esc_html__( 'Text Size', 'Divi' ),
[4303] Fix | Delete
'section' => 'et_divi_buttons',
[4304] Fix | Delete
'type' => 'range',
[4305] Fix | Delete
'input_attrs' => array(
[4306] Fix | Delete
'min' => 12,
[4307] Fix | Delete
'max' => 30,
[4308] Fix | Delete
'step' => 1,
[4309] Fix | Delete
),
[4310] Fix | Delete
)
[4311] Fix | Delete
)
[4312] Fix | Delete
);
[4313] Fix | Delete
[4314] Fix | Delete
$wp_customize->add_setting(
[4315] Fix | Delete
'et_divi[all_buttons_text_color]',
[4316] Fix | Delete
array(
[4317] Fix | Delete
'default' => '',
[4318] Fix | Delete
'type' => 'option',
[4319] Fix | Delete
'capability' => 'edit_theme_options',
[4320] Fix | Delete
'transport' => 'postMessage',
[4321] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[4322] Fix | Delete
)
[4323] Fix | Delete
);
[4324] Fix | Delete
[4325] Fix | Delete
$wp_customize->add_control(
[4326] Fix | Delete
new ET_Divi_Customize_Color_Alpha_Control(
[4327] Fix | Delete
$wp_customize,
[4328] Fix | Delete
'et_divi[all_buttons_text_color]',
[4329] Fix | Delete
array(
[4330] Fix | Delete
'label' => esc_html__( 'Text Color', 'Divi' ),
[4331] Fix | Delete
'section' => 'et_divi_buttons',
[4332] Fix | Delete
'settings' => 'et_divi[all_buttons_text_color]',
[4333] Fix | Delete
)
[4334] Fix | Delete
)
[4335] Fix | Delete
);
[4336] Fix | Delete
[4337] Fix | Delete
$wp_customize->add_setting(
[4338] Fix | Delete
'et_divi[all_buttons_bg_color]',
[4339] Fix | Delete
array(
[4340] Fix | Delete
'default' => 'rgba(0,0,0,0)',
[4341] Fix | Delete
'type' => 'option',
[4342] Fix | Delete
'capability' => 'edit_theme_options',
[4343] Fix | Delete
'transport' => 'postMessage',
[4344] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[4345] Fix | Delete
)
[4346] Fix | Delete
);
[4347] Fix | Delete
[4348] Fix | Delete
$wp_customize->add_control(
[4349] Fix | Delete
new ET_Divi_Customize_Color_Alpha_Control(
[4350] Fix | Delete
$wp_customize,
[4351] Fix | Delete
'et_divi[all_buttons_bg_color]',
[4352] Fix | Delete
array(
[4353] Fix | Delete
'label' => esc_html__( 'Background Color', 'Divi' ),
[4354] Fix | Delete
'section' => 'et_divi_buttons',
[4355] Fix | Delete
'settings' => 'et_divi[all_buttons_bg_color]',
[4356] Fix | Delete
)
[4357] Fix | Delete
)
[4358] Fix | Delete
);
[4359] Fix | Delete
[4360] Fix | Delete
$wp_customize->add_setting(
[4361] Fix | Delete
'et_divi[all_buttons_border_width]',
[4362] Fix | Delete
array(
[4363] Fix | Delete
'default' => ET_Global_Settings::get_value( 'all_buttons_border_width', 'default' ),
[4364] Fix | Delete
'type' => 'option',
[4365] Fix | Delete
'capability' => 'edit_theme_options',
[4366] Fix | Delete
'transport' => 'postMessage',
[4367] Fix | Delete
'sanitize_callback' => 'absint',
[4368] Fix | Delete
)
[4369] Fix | Delete
);
[4370] Fix | Delete
[4371] Fix | Delete
$wp_customize->add_control(
[4372] Fix | Delete
new ET_Divi_Range_Option(
[4373] Fix | Delete
$wp_customize,
[4374] Fix | Delete
'et_divi[all_buttons_border_width]',
[4375] Fix | Delete
array(
[4376] Fix | Delete
'label' => esc_html__( 'Border Width', 'Divi' ),
[4377] Fix | Delete
'section' => 'et_divi_buttons',
[4378] Fix | Delete
'type' => 'range',
[4379] Fix | Delete
'input_attrs' => array(
[4380] Fix | Delete
'min' => 0,
[4381] Fix | Delete
'max' => 10,
[4382] Fix | Delete
'step' => 1,
[4383] Fix | Delete
),
[4384] Fix | Delete
)
[4385] Fix | Delete
)
[4386] Fix | Delete
);
[4387] Fix | Delete
[4388] Fix | Delete
$wp_customize->add_setting(
[4389] Fix | Delete
'et_divi[all_buttons_border_color]',
[4390] Fix | Delete
array(
[4391] Fix | Delete
'default' => '#ffffff',
[4392] Fix | Delete
'type' => 'option',
[4393] Fix | Delete
'capability' => 'edit_theme_options',
[4394] Fix | Delete
'transport' => 'postMessage',
[4395] Fix | Delete
'sanitize_callback' => 'et_sanitize_alpha_color',
[4396] Fix | Delete
)
[4397] Fix | Delete
);
[4398] Fix | Delete
[4399] Fix | Delete
$wp_customize->add_control(
[4400] Fix | Delete
new ET_Divi_Customize_Color_Alpha_Control(
[4401] Fix | Delete
$wp_customize,
[4402] Fix | Delete
'et_divi[all_buttons_border_color]',
[4403] Fix | Delete
array(
[4404] Fix | Delete
'label' => esc_html__( 'Border Color', 'Divi' ),
[4405] Fix | Delete
'section' => 'et_divi_buttons',
[4406] Fix | Delete
'settings' => 'et_divi[all_buttons_border_color]',
[4407] Fix | Delete
)
[4408] Fix | Delete
)
[4409] Fix | Delete
);
[4410] Fix | Delete
[4411] Fix | Delete
$wp_customize->add_setting(
[4412] Fix | Delete
'et_divi[all_buttons_border_radius]',
[4413] Fix | Delete
array(
[4414] Fix | Delete
'default' => ET_Global_Settings::get_value( 'all_buttons_border_radius', 'default' ),
[4415] Fix | Delete
'type' => 'option',
[4416] Fix | Delete
'capability' => 'edit_theme_options',
[4417] Fix | Delete
'transport' => 'postMessage',
[4418] Fix | Delete
'sanitize_callback' => 'absint',
[4419] Fix | Delete
)
[4420] Fix | Delete
);
[4421] Fix | Delete
[4422] Fix | Delete
$wp_customize->add_control(
[4423] Fix | Delete
new ET_Divi_Range_Option(
[4424] Fix | Delete
$wp_customize,
[4425] Fix | Delete
'et_divi[all_buttons_border_radius]',
[4426] Fix | Delete
array(
[4427] Fix | Delete
'label' => esc_html__( 'Border Radius', 'Divi' ),
[4428] Fix | Delete
'section' => 'et_divi_buttons',
[4429] Fix | Delete
'type' => 'range',
[4430] Fix | Delete
'input_attrs' => array(
[4431] Fix | Delete
'min' => 0,
[4432] Fix | Delete
'max' => 50,
[4433] Fix | Delete
'step' => 1,
[4434] Fix | Delete
),
[4435] Fix | Delete
)
[4436] Fix | Delete
)
[4437] Fix | Delete
);
[4438] Fix | Delete
[4439] Fix | Delete
$wp_customize->add_setting(
[4440] Fix | Delete
'et_divi[all_buttons_spacing]',
[4441] Fix | Delete
array(
[4442] Fix | Delete
'default' => ET_Global_Settings::get_value( 'all_buttons_spacing', 'default' ),
[4443] Fix | Delete
'type' => 'option',
[4444] Fix | Delete
'capability' => 'edit_theme_options',
[4445] Fix | Delete
'transport' => 'postMessage',
[4446] Fix | Delete
'sanitize_callback' => 'et_sanitize_int_number',
[4447] Fix | Delete
)
[4448] Fix | Delete
);
[4449] Fix | Delete
[4450] Fix | Delete
$wp_customize->add_control(
[4451] Fix | Delete
new ET_Divi_Range_Option(
[4452] Fix | Delete
$wp_customize,
[4453] Fix | Delete
'et_divi[all_buttons_spacing]',
[4454] Fix | Delete
array(
[4455] Fix | Delete
'label' => esc_html__( 'Letter Spacing', 'Divi' ),
[4456] Fix | Delete
'section' => 'et_divi_buttons',
[4457] Fix | Delete
'type' => 'range',
[4458] Fix | Delete
'input_attrs' => array(
[4459] Fix | Delete
'min' => -2,
[4460] Fix | Delete
'max' => 10,
[4461] Fix | Delete
'step' => 1,
[4462] Fix | Delete
),
[4463] Fix | Delete
)
[4464] Fix | Delete
)
[4465] Fix | Delete
);
[4466] Fix | Delete
[4467] Fix | Delete
$wp_customize->add_setting(
[4468] Fix | Delete
'et_divi[all_buttons_font_style]',
[4469] Fix | Delete
array(
[4470] Fix | Delete
'default' => '',
[4471] Fix | Delete
'type' => 'option',
[4472] Fix | Delete
'capability' => 'edit_theme_options',
[4473] Fix | Delete
'transport' => 'postMessage',
[4474] Fix | Delete
'sanitize_callback' => 'et_sanitize_font_style',
[4475] Fix | Delete
)
[4476] Fix | Delete
);
[4477] Fix | Delete
[4478] Fix | Delete
$wp_customize->add_control(
[4479] Fix | Delete
new ET_Divi_Font_Style_Option(
[4480] Fix | Delete
$wp_customize,
[4481] Fix | Delete
'et_divi[all_buttons_font_style]',
[4482] Fix | Delete
array(
[4483] Fix | Delete
'label' => esc_html__( 'Button Font Style', 'Divi' ),
[4484] Fix | Delete
'section' => 'et_divi_buttons',
[4485] Fix | Delete
'type' => 'font_style',
[4486] Fix | Delete
'choices' => et_divi_font_style_choices(),
[4487] Fix | Delete
)
[4488] Fix | Delete
)
[4489] Fix | Delete
);
[4490] Fix | Delete
[4491] Fix | Delete
$wp_customize->add_setting(
[4492] Fix | Delete
'et_divi[all_buttons_font]',
[4493] Fix | Delete
array(
[4494] Fix | Delete
'default' => 'none',
[4495] Fix | Delete
'type' => 'option',
[4496] Fix | Delete
'capability' => 'edit_theme_options',
[4497] Fix | Delete
'transport' => 'postMessage',
[4498] Fix | Delete
'sanitize_callback' => 'et_sanitize_font_choices',
[4499] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function