/** * Returns the URL with the given relative path to the plugin path. * * <h3>Example</h3> * <code> * AdminPageFrameworkLoader_Registry::getPluginURL( 'asset/css/meta_box.css' ); * </code> * @since 3.5.0 * @return string */ public static function getPluginURL($sRelativePath = '') { if (isset(self::$_sPluginURLCache)) { return self::$_sPluginURLCache . $sRelativePath; } self::$_sPluginURLCache = trailingslashit(plugins_url('', self::$sFilePath)); return self::$_sPluginURLCache . $sRelativePath; }