Skip to main content

benecaster_show_account_wall_name_field

Filter Free

Controls whether the “Your wall name” field renders in the Supporter Wall section of the subscriber account page ([benecaster_account]). Replaces the deprecated benecaster_show_account_display_name_field hook.

The field is not show-scoped — it sets a single _benecaster_wall_display_name usermeta value shared across all shows. Variables available to the account/wall-name.php template: $user_id, $wall_name, $wall_name_prefill.

The default callback returns true when any community-feature signal is active on the site: Supporter Wall enabled on at least one show, [benecaster_member_thanks] shortcode present in any published post, or the Episode Workbench add-on active. The result is cached in the benecaster_account object-cache group for 10 minutes.

Returning false also suppresses the first-run wall-name overlay — the overlay only fires when this filter returns true. Force-show or force-hide with a straight callback when the heuristic is wrong for a site.

Parameters

Name Type Default Description
$enabled bool Whether to render the wall name field. Default computed by community-feature detection.

Returns: bool

Examples

Always show the wall name field regardless of community features

add_filter( 'benecaster_show_account_wall_name_field', '__return_true' );

Never show the wall name field, even if Supporter Wall is active

add_filter( 'benecaster_show_account_wall_name_field', '__return_false' );

Affects

  • Subscriber Account Page
  • account/wall-name.php template