public static function remove($type, $name)
    {
        if (isset(self::$data[$type]['header'][$name])) {
            unset(self::$data[$type]['header'][$name]);

            return true;
        } elseif (isset(self::$data[$type]['footer'][$name])) {
            unset(self::$data[$type]['footer'][$name]);

            return true;
        }

        return false;
    }
public static function remove($type, $name)
    {
        if (isset(self::$data[$type]['header'][$name])) {
            unset(self::$data[$type]['header'][$name]);

            return true;
        } elseif (isset(self::$data[$type]['footer'][$name])) {
            unset(self::$data[$type]['footer'][$name]);

            return true;
        }

        return false;
    }
public static function remove ( $ type , $ name ) { if ( isset ( self :: $ data [ $ type ] [ 'header' ] [ $ name ] ) ) { unset ( self :: $ data [ $ type ] [ 'header' ] [ $ name ] ) ; return true ; } elseif ( isset ( self :: $ data [ $ type ] [ 'footer' ] [ $ name ] ) ) { unset ( self :: $ data [ $ type ] [ 'footer' ] [ $ name ] ) ; return true ; } return false ; }
Remove before script or style have been registered.

@since 1.0.1

@param string $type → script|style
@param string $name → script or style name

@return bool true
Remove before script or style have been registered .