function Smarty::unregister_function in Quiz 6.6
Same name and namespace in other branches
- 6.5 includes/moodle/lib/smarty/Smarty.class.php \Smarty::unregister_function()
Unregisters custom function
Parameters
string $function name of template function:
File
- includes/
moodle/ lib/ smarty/ Smarty.class.php, line 701
Class
- Smarty
- @package Smarty
Code
function unregister_function($function) {
unset($this->_plugins['function'][$function]);
}