Snippets: Add new staff social profiles

// Add new staff social profiles
add_filter( 'wpex_staff_social_array', function( $profiles ) {

	// Add instagram
	$profiles['instagram'] = array (
		'key'        => 'instagram',
		'meta'       => 'wpex_staff_instagram',
		'icon_class' => 'fa fa-instagram',
		'label'      => 'Instagram',
	);

	// Return profiles
	return $profiles;

} );

Result:

Snippet Type: PHP

Posted Under: Staff

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