Snippets: Add New Top Bar Social Options

add_filter( 'wpex_topbar_social_options', function( $options ) {

	// Add phone number option
	$options['phone'] = array(
		'label' => 'Phone',
		'icon_class' => 'fa fa-phone', // See http://fontawesome.io/icons/
	);

	// Return options
	return $options;

} );

Snippet Type: PHP

Posted Under: Top Bar

All PHP snippets should be added via a child theme's functions.php file.