»

LJ::run_hooks

LJ::run_hooks — Runs all the site-specific hooks of the given name.

Use

LJ::run_hooks(hookname, args);

Arguments

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

  • args. Arguments to be passed to hook.

Source:

cgi-bin/ljlib.pl

Returns:

list of arrayrefs, one for each hook ran, their contents being their own return values.