Snippets: Add Rel Nofollow To Top Bar Social Links

add_filter( 'wpex_topbar_social_link_attrs', function( $attrs ) {
	$attrs['rel'] = 'nofollow';
	return $attrs;
} );

Snippet Type: PHP

Posted Under: Top Bar

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