Created
May 9, 2022 15:15
-
-
Save wp-seopress/1a81135f82b6906afc79c36bd76af55d to your computer and use it in GitHub Desktop.
Filter URL to inspect with Google Inspect URL API
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 sp_inspect_url_permalink($url) { | |
//default: get_permalink(); | |
return $url; | |
} | |
add_filter('seopress_inspect_url_permalink', 'sp_inspect_url_permalink'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment