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 core, or to suppress it globally.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$active |
bool |
— | Core'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' );
Notes
The Supporter Wall feature ships as a separate feature batch. This filter is registered alongside the avatar upload infrastructure so add-ons and early adopters can wire the disclosure before the wall batch lands in core.
Affects
- Avatar-upload privacy disclosure in subscriber account