gpeu_show_message_preview
Description
Filter whether to display a message preview for each email when reviewing emails. If sending a large number of emails, it may be advantageous to disable the message preview for performance reasons.
Usage
Applied globally
add_filter( 'gpeu_show_message_preview', 'my_custom_function' );
Applied to specific form
add_filter( 'gpeu_show_message_preview_FORMID', 'my_custom_function' );
Parameters
$show_message_preview
boolean
Whether the message preview should be shown. Defaults to true
.
$form
array
The current form.
Since
2.0
Hook added.