# Adding Custom Social Icons

You can extend the default social icons set using custom theme filters. The following code should be inserted in the functions.php file of the Cassio child theme.

add_filter( 'arts/customizer/social_links/icons', function( $icons ) {
  $icons += array(
    'fa fa-google fa-fw'  => esc_html__( 'Custom Icon #1', 'cassio' ),
    'fa fa-apple fa-fw'   => esc_html__( 'Custom Icon #2', 'cassio' ),
  );

  return $icons;
}, 99);

# Add custom icons to Cassio: Social Media widget

add_filter( 'arts/widgets/cassio_widget_social/icons', function( $icons ) {
  $icons += array(
    'google'  => array(
      'title' => esc_html__( 'Custom Icon URL #1', 'cassio' ),
      'icon'  => 'fa fa-google fa-fw',
    ),
    'apple'   => array(
      'title' => esc_html__( 'Custom Icon URL #2', 'cassio' ),
      'icon'  => 'fa fa-apple fa-fw',
    ),
  );

  return $icons;
}, 99);