public static function addAction($tag, $func, $priority = 8, $args = 0)
    {
        $that = self::getInstance(self::$id);

        $that->callbacks[$tag][$priority][] = [
            'function' => $func,
            'arguments' => $args,
        ];

        return true;
    }