mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-05 16:23:24 +02:00
related to #1693 changed smarty version to 4.1.0
This commit is contained in:
committed by
plegall
parent
25570529a7
commit
ecfa090d6d
@@ -0,0 +1,36 @@
|
||||
unregisterPlugin
|
||||
|
||||
dynamically unregister plugins
|
||||
|
||||
Description
|
||||
===========
|
||||
|
||||
void
|
||||
|
||||
unregisterPlugin
|
||||
|
||||
string
|
||||
|
||||
type
|
||||
|
||||
string
|
||||
|
||||
name
|
||||
|
||||
This method unregisters plugins which previously have been registered by
|
||||
[registerPlugin()](#api.register.plugin), 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()`](#api.register.plugin).
|
||||
Reference in New Issue
Block a user