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
<link href="https://pagecdn.io/lib/easyfonts/fonts.css" rel="stylesheet" /> | |
<div class="font-roboto"> | |
<div class="font-open-sans w600i"> | |
Stuff here appears in Open Sans, bold and italic | |
</div> | |
<div class="w600"> | |
Stuff here appears in Roboto, bold | |
</div> |
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 get_domain_from_url( $string ) | |
{ | |
return strtolower( parse_url( $string , PHP_URL_HOST ) ); | |
} | |
Source https://pageconfig.com/post/extract-host-from-a-url-php |