You are here

function Smarty::unregister_prefilter in Quiz 6.5

Same name and namespace in other branches
  1. 6.6 includes/moodle/lib/smarty/Smarty.class.php \Smarty::unregister_prefilter()

Unregisters a prefilter function

Parameters

string $function name of PHP function:

File

includes/moodle/lib/smarty/Smarty.class.php, line 854

Class

Smarty
@package Smarty

Code

function unregister_prefilter($function) {
  unset($this->_plugins['prefilter'][$function]);
}