unregister_function

void unregister_function (string name)

Use this to dynamically unregister template function plugin. Pass in the template function name.

Пример 13-25. unregister_function

// we don't want template designers to have access to system files

$smarty->unregister_function("fetch");