unregister_modifier

void unregister_modifier (string name)

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

Пример 13-26. unregister_modifier

// we don't want template designers to strip tags from elements

$smarty->unregister_modifier("strip_tags");