registerPlugin("function", "hello", "custom_hello"); ?>
registerPlugin("modifier", "uppercase", "custom_uppercase"); ?>This example registers a new modifier plugin named "uppercase" that takes a string parameter and returns the uppercase version of the same string. Package library: Smarty template engine.