benecaster_before_account_email_preferences
Fires before the Email preferences section of a subscription card inside the benecaster_account shortcode: the listener’s own email opt-outs for the show, and the only place they can undo one. Fires once per subscription card when email_preferences is among the enabled sections.
The section renders whatever the listener’s current opt-outs are. Never hide it for an opted-out listener from a callback or a theme override: it is their way back.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$show_id |
int |
— | ID of the show |
$user_id |
int |
— | WordPress user ID of the logged-in subscriber |
Affects
- Subscriber Account Page
Need this built rather than just documented? See our services →