Appearance
Are you an LLM? You can read better optimized documentation at /rubenz/wp/tips-tricks/adding-custom-social-icons.md for this page in Markdown format
Adding Custom Social Icons ​
You can extend the default social icons set using the custom theme filters. The following code is to be inserted in functions.php of Rubenz child theme.
Add custom icons to Rubenz: Social Media widget ​
php
add_filter( 'arts/widgets/rubenz_widget_social/icons', function( $icons ) {
$icons += array(
'google' => array(
'title' => esc_html__( 'Custom Icon URL #1', 'rubenz' ),
'icon' => 'fa fa-google fa-fw',
),
'apple' => array(
'title' => esc_html__( 'Custom Icon URL #2', 'rubenz' ),
'icon' => 'fa fa-apple fa-fw',
),
);
return $icons;
}, 99);