Files
Piwigo/include/smarty/docs/programmers/api-functions/api-unregister-plugin.md
2022-07-27 18:46:17 +02:00

510 B

unregisterPlugin

dynamically unregister plugins

Description

void

unregisterPlugin

string

type

string

name

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

<?php

// we don't want template designers to have access to function plugin "date_now" 
$smarty->unregisterPlugin("function","date_now");

?>

See also registerPlugin().