Как я могу добавить новый социальный значок для Widget_Social_Icons ()?
Я могу добавить новый значок для Control_Icon ()
function jet_modify_controls( $controls_registry ) {
// Get existing icons
$icons = $controls_registry->get_control( 'icon' )->get_settings( 'options' );
// Append new icons
$new_icons = array_merge(
array(
'fab fa-viber' => 'viber',
),
$icons
);
// Then we set a new list of icons as the options of the icon control
$controls_registry->get_control( 'icon' )->set_settings( 'options', $new_icons );
}
add_action( 'elementor/controls/controls_registered', 'jet_modify_controls', 99, 1 );
Я нашел действие "elementor / widgets / widgets_registered", ноя не могу найти способ добавить новую иконку для него