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 hooks guide.

  • args. Arguments to be passed to hook.

Source:

cgi-bin/ljhooks.pl

Returns:

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