»

LJ::are_hooks

LJ::are_hooks — Returns true if the site has one or more hooks installed for the given hookname.

Use

LJ::are_hooks(hookname);

Arguments

  • hookname. Name of hook. See doc/hooks.txt.

Source:

cgi-bin/ljlib.pl