Smarty Manual
Prev |  | Next

# unregister_function

unregister_function --

##

void unregister_function ( string name)

Use this to dynamically unregister template function plugin. Pass in the template function name.

Example 1. unregister_function
`<?php // we don't want template designers to have access to system files $smarty->unregister_function("fetch"); ?>`

Prev | Home | Next
unregister_compiler_function | Up | unregister_modifier