benecaster_guest_manager_invitation_email_subject
Filters the subject of the email that sends a guest their Guest portal link (Invite to Edit Profile or Send a New Link on the guest’s Edit Guest screen). Default Update your guest profile on {site title}.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$subject |
string |
— | The subject |
$guest_id |
int |
— | The guest's post id |
$link |
string |
— | The guest's private link |
Returns:
string
Example
add_filter( 'benecaster_guest_manager_invitation_email_subject', fn( string $subject ): string => 'Your guest page: a quick check', 10, 1 );
Notes
$link is the guest's only credential: never log or store it. Walkthrough: Invite a guest to the Guest portal, or stop their link, from code, and change the invitation email.
Need this built rather than just documented? See our services →