Return the root directory of the Lib/App/Site/Module/Theme class for a given class name.
/** * @param string $filepath * @return string */ function get_root_dir($filepath) { return WPLib::get_root_dir($filepath, get_class($this)); }
/** * @param string $filepath * @return string */ function get_root_dir($filepath) { return WPLib::get_root_dir($filepath, get_class($this)); }