unregisterFilter example


        $this->registerFilter('pre', $function);
    }

    /** * Unregisters a prefilter function * * @param callable $function */
    public function unregister_prefilter($function)
    {
        $this->unregisterFilter('pre', $function);
    }

    /** * Registers a postfilter function to apply * to a compiled template after compilation * * @param callable $function */
    public function register_postfilter($function)
    {
        $this->registerFilter('post', $function);
    }
Home | Imprint | This part of the site doesn't use cookies.