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 24th May 2024 12:05 Europe/London time based on the source file dated 22nd May 2024 22:15 Europe/London time.