Collections functions
General functions
Node functions
Render functions
Theme permission functions
User functions
Resource functions

hook()

Description

Plugin architecture. Look for hooks with this name (and corresponding page, if applicable) and run them sequentially.
Utilises a cache for significantly better performance.
Enable $draw_performance_footer in config.php to see stats.

Parameters

ColumnTypeDefaultDescription
$name string
$pagename string ""
$params array array
$last_hook_value_wins boolean false

Return

mixed

This article was last updated 19th April 2024 01:05 Europe/London time based on the source file dated 18th April 2024 12:20 Europe/London time.