You are here

function Smarty::unregister_function in Quiz 6.5

Same name and namespace in other branches
  1. 6.6 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]);
}