1 <?php
3 /**
4 * Smarty method Unregister_Function
5 *
6 * Unregister a Smarty function plugin
7 *
8 * @package Smarty
9 * @subpackage SmartyMethod
10 * @author Uwe Tews
11 */
13 /**
14 * Unregister a Smarty function plugin
15 */
17 /**
18 * Unregisters custom function
19 *
20 * @param string $function_tag name of template function
21 */
22 function Smarty_Method_Unregister_Function($smarty, $function_tag)
23 {
24 if (isset($smarty->registered_plugins['function'][$function_tag])) {
25 unset($smarty->registered_plugins['function'][$function_tag]);
26 }
27 }
29 ?>