Skip to content

Instantly share code, notes, and snippets.

@codehooligans
Created June 20, 2013 18:44
Show Gist options
  • Save codehooligans/5825451 to your computer and use it in GitHub Desktop.
Save codehooligans/5825451 to your computer and use it in GitHub Desktop.
Hook into the PWAL URL filter pwal_url_to_like
function theme_pwal_url_filter($href='') {
// Just replace 'key1' and 'value1' with your custom URL key1=value1 set
return add_query_arg( array('key1' => 'value1'), $href );
}
add_filter('pwal_url_to_like', 'theme_pwal_url_filter');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment