diff options
author | friendica <info@friendica.com> | 2013-11-28 20:17:07 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-11-28 20:17:07 -0800 |
commit | 7536ed6e449e0d405394155b50f5e1ce96fd7776 (patch) | |
tree | 31ca9f31003d049df3be83c367fe3f4f257bf5bb /include/event.php | |
parent | 8cd9a2c3a944e804c72ef461df801116c6b44ac7 (diff) | |
download | volse-hubzilla-7536ed6e449e0d405394155b50f5e1ce96fd7776.tar.gz volse-hubzilla-7536ed6e449e0d405394155b50f5e1ce96fd7776.tar.bz2 volse-hubzilla-7536ed6e449e0d405394155b50f5e1ce96fd7776.zip |
allow themes to mess with the navbar contents without a custom template. It's done as a callback using a transient plugin hook.
For instance to get rid of the notifications link:
insert_hook('nav','strip_notify');
function strip_notify($a,&$b) {
unset($b['nav']['notifications']);
}
Diffstat (limited to 'include/event.php')
0 files changed, 0 insertions, 0 deletions