Skip to main content

benecaster_guest_manager_approval_email_message

Filter Premium guest-manager

Filters the plain-text body of the email telling the admin a guest sent Guest portal changes. It names the fields changed, never what was sent, and links to Waiting for Approval.

Parameters

Name Type Default Description
$message string — The body
$guest_id int — The guest's post id
$queue_url string — The **Waiting for Approval** list

Returns: string

Example

add_filter( 'benecaster_guest_manager_approval_email_message', fn( string $message ): string => $message . "\n\nPlease review within two days." );

Notes

Need this built rather than just documented? See our services →