Created
August 11, 2018 01:42
-
-
Save iWebbers/926ddd65102f9b39da5a78956b0e692a to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| // Get WordPress site url via shortcode: [iw_site_url] | |
| function iw_site_url_shortcode() { | |
| return get_bloginfo('url'); | |
| } | |
| add_shortcode('iw_site_url','iw_site_url_shortcode'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment