Name

unregister_modifier() — dynamically unregister modifier plugin

Description

void unregister_modifier(string name);

Pass in the template modifier name.

Example 13.28. unregister_modifier()


<?php

// we don't want template designers to strip tags from elements
$smarty->unregister_modifier('strip_tags');

?>

   

See also register_modifier() and plugin modifiers,