diff options
Diffstat (limited to 'documentation/examples/hooks/trigger/basic.php')
-rw-r--r-- | documentation/examples/hooks/trigger/basic.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/documentation/examples/hooks/trigger/basic.php b/documentation/examples/hooks/trigger/basic.php new file mode 100644 index 000000000..a32bf9296 --- /dev/null +++ b/documentation/examples/hooks/trigger/basic.php @@ -0,0 +1,9 @@ +<?php + +$result = trigger_plugin_hook('get_status', 'example', null, true); + +if ($result) { + var_dump('Plugin hook says ok!'); +} else { + var_dump('Plugin hook says no.'); +} |