ExpressionEngine Docs

Output Library Extension Hooks

output_show_message($data, $output)

Parameter Type Description
$data Array Array of data describing the message
$output String HTML rendered from the default message template
Returns String New rendered output for the message

Modify the output of front-end system messages.

How it’s called:

if (ee()->extensions->active_hook('output_show_message') === TRUE)
  $output = ee()->extensions->call('output_show_message', $data, $output);


See the Design controller’s template_types.