Created
December 23, 2018 17:13
-
-
Save RyanNutt/0a37794a79daeea5f7b88e402ef4cdbc to your computer and use it in GitHub Desktop.
WordPress permalink shortcode - https://www.nutt.net/wordpress-permalink-shortcode/
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
add_shortcode('permalink', function() { | |
return get_permalink(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment