aboutsummaryrefslogtreecommitdiff
path: root/documentation/examples/hooks/trigger/basic.php
blob: ea27a8a98f57c48c6e87c75c4649b02563f323e2 (plain)
1
2
3
4
5
6
7
8
9
<?php

$result = elgg_trigger_plugin_hook('get_status', 'example', null, true);

if ($result) {
	var_dump('Plugin hook says ok!');
} else {
	var_dump('Plugin hook says no.');
}