aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/smarty/smarty/docs/programmers/api-functions/api-unregister-plugin.md
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/smarty/smarty/docs/programmers/api-functions/api-unregister-plugin.md')
-rw-r--r--vendor/smarty/smarty/docs/programmers/api-functions/api-unregister-plugin.md36
1 files changed, 36 insertions, 0 deletions
diff --git a/vendor/smarty/smarty/docs/programmers/api-functions/api-unregister-plugin.md b/vendor/smarty/smarty/docs/programmers/api-functions/api-unregister-plugin.md
new file mode 100644
index 000000000..c692ac60f
--- /dev/null
+++ b/vendor/smarty/smarty/docs/programmers/api-functions/api-unregister-plugin.md
@@ -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).