benecaster_supporter_wall_active
Filters whether the Supporter Wall privacy disclosure appears on a subscriber’s avatar upload block in their account area. Return true to show the disclosure — “Your avatar will be visible on the Supporter Wall” — and false to hide it.
The default logic checks whether any show the subscriber holds an active token for has the Supporter Wall enabled. This filter lets you override that detection entirely — for example, to always show the disclosure when building a custom wall implementation outside of Benecaster, or to suppress it globally.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$active |
bool |
— | Benecaster's default: true when any of the subscriber's active shows has Supporter Wall enabled |
$user_id |
int |
— | WordPress user ID of the subscriber |
Returns:
bool
Examples
Always show the privacy disclosure
add_filter( 'benecaster_supporter_wall_active', function ( bool $active, int $user_id ): bool {
return true;
}, 10, 2 );
Suppress the privacy disclosure globally
add_filter( 'benecaster_supporter_wall_active', '__return_false' );
Affects
- Avatar-upload privacy disclosure in subscriber account
Need this built rather than just documented? See our services →