Get Smarty

Donate

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 Cheapglasses123.com and save up to 80%.

Where to buy prescription glasses? EyewearCanada.com is your best choice!

Advertisement

Name

unregister_function — dynamically unregister template function plugin

Description

void unregister_function(string name);

Pass in the template function name.

Example 13.27. unregister_function


<?php

// we don't want template designers to have access to system files
$smarty->unregister_function('fetch');

?>

   

See also register_function().

Comments
No comments for this page.

Advertisement