Created
August 11, 2018 01:41
-
-
Save iWebbers/fe07dad3d25fd2d7e30812110ec5d383 to your computer and use it in GitHub Desktop.
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
// Get WordPress site name via shortcode: [iw_site_name] | |
function iw_site_name_shortcode() { | |
return get_bloginfo('name'); | |
} | |
add_shortcode('iw_site_name','iw_site_name_shortcode'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment