public static function ShareaholicUtilities::get_host in Share Buttons, Related Posts, Content Analytics - Shareaholic 8
Same name and namespace in other branches
- 7.3 utilities.php \ShareaholicUtilities::get_host()
Return host domain of Drupal install
Return value
string
File
- ./
utilities.php, line 898
Class
Code
public static function get_host() {
$parse = parse_url($GLOBALS['base_url']);
return $parse['host'];
}