Snippets: Re-Order Social Sharing Sites

// Re-Order Social Sharing Sites
function my_wpex_social_share_sites( $sites ) {

	// Define the sites in your own order
	$sites = array( 'twitter', 'facebook', 'google_plus', 'pinterest', 'linkedin' );

	// Return sites
	return $sites;

}
add_filter( 'wpex_social_share_sites', 'my_wpex_social_share_sites' );

Version Required:2.0.3+

Snippet Type: PHP

Posted Under: Other

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