skip to Main Content

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' => 'ticon ticon-phone', // See https://total.wpexplorer.com/docs/icons/
	);

	// Return options
	return $options;

} );
All PHP snippets should be added via child theme's functions.php file or via a plugin (we recommend Code Snippets)
Back To Top