Skip to main content

benecaster_guest_manager_approval_email_recipient

Filter Premium guest-manager

Filters who is emailed when a guest sends Guest portal changes for approval. Default: the site’s Administration Email Address (admin_email).

Parameters

Name Type Default Description
$to string — The address
$guest_id int — The guest's post id

Returns: string

Example

// Send submissions to the producer instead of the site's admin.
add_filter( 'benecaster_guest_manager_approval_email_recipient', static fn(): string => 'producer@example.com' );

Notes

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