You are here

public static function ShareaholicUtilities::get_host in Share Buttons, Related Posts, Content Analytics - Shareaholic 7.3

Same name and namespace in other branches
  1. 8 utilities.php \ShareaholicUtilities::get_host()

Return host domain of Drupal install

Return value

string

File

./utilities.php, line 898

Class

ShareaholicUtilities

Code

public static function get_host() {
  $parse = parse_url($GLOBALS['base_url']);
  return $parse['host'];
}