Get Smarty


Smarty Icon

You may use the Smarty logo according to the trademark notice.

Smarty Template Engine Smarty Template Engine

For sponsorship, advertising, news or other inquiries, contact us at:

Sites Using Smarty

Buy cheap glasses from and save up to 80%.

Where to buy prescription glasses? is your best choice!



unregisterPlugin — dynamically unregister plugins


void unregisterPlugin(string type,
                      string name);

This method unregisters plugins which previously have been registered by registerPlugin(), It uses the following parameters:

  • type defines the type of the plugin. Valid values are "function", "block", "compiler" and "modifier".

  • name defines the name of the plugin.

Example 14.50. unregister function plugin


// we don't want template designers to have access to function plugin "date_now" 



See also registerPlugin().

No comments for this page.
Post a Comment
All comments are moderated. Support questions are ignored, use the forums instead.
Email: (not shown)
What is 0 plus 10? (Are you human?)