What is Smarty?
Why use it?
Use Cases and Work Flow
Syntax Comparison
Template Inheritance
Best Practices
Crash Course
You may use the Smarty logo according to the trademark notice.
For sponsorship, advertising, news or other inquiries, contact us at:
unregister_modifier() — dynamically unregister modifier plugin
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,