ExpressionEngine® 3 User Guide

Legacy Documentation

You are using the documentation for version 3.5.17. Go here for the latest version or check here for your available upgrades to the latest version.

Output Library Extension Hooks

output_show_message

output_show_message($data, $output)

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);
}
Parameters:
  • $data (array) – Array of data describing the message
  • $output (string) – HTML rendered from the default message template
Returns:

New rendered output for the message

Return type:

String

New in version 3.2.0.

template_types

See the Design controller’s template_types.