get_root_url() статический публичный Метод

Get the root URL for a given Lib/Site/App/Module/Theme.
static public get_root_url ( string $filepath, boolean | string $class_name = false ) : string
$filepath string Name of path to append to root URL.
$class_name boolean | string Name of class to return the root dir.
Результат string
Пример #1
0
 /**
  * @param string $filepath
  * @return string
  */
 function get_root_url($filepath)
 {
     return WPLib::get_root_url($filepath, get_class($this));
 }