Created
June 20, 2013 18:44
-
-
Save codehooligans/5825451 to your computer and use it in GitHub Desktop.
Hook into the PWAL URL filter pwal_url_to_like
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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