Snippets: Add Query Argument To Social Share Links

 * Append new query args to the social share url
 * Result in this example will return
function my_alter_social_link( $url ) {
	return add_query_arg( array(
		'key' => 'value',
	), $url );
add_filter( 'wpex_social_share_url', 'my_alter_social_link', 20 );

Version Required:3.0.7+

Snippet Type: PHP

Posted Under: Social Share

All PHP snippets should be added via a child theme's functions.php file or via the Code Snippets Plugin (or alternative plugin)