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));
 }