Created
March 5, 2018 16:55
-
-
Save lgedeon/4c38402bd93aa1ae2f1d15e3e65b4bde 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
<?php | |
/** | |
* Allow italics to be used in the sitename. | |
* | |
* @action bloginfo | |
* | |
* @param mixed $output The requested non-URL site information. | |
* @param mixed $show Type of information requested. | |
* | |
* @return mixed | |
*/ | |
public function allow_html_in_sitename( $output, $show ) { | |
if ( 'name' === $show ) { | |
$output = html_entity_decode( $output ); | |
} | |
return $output; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment