benecaster_before_account_wall_name
Fires immediately before the Supporter Wall name field on the subscriber account page — the “What name should appear on our supporter wall?” input and its Save button. Output echoed here appears above the field.
Fires only when the field renders: the show has the Supporter Wall on and the name field enabled. It never fires for a subscriber who cannot see the field.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$user_id |
int |
— | WordPress user ID of the logged-in subscriber viewing their own account page |
Examples
Explain where the name appears
add_action( 'benecaster_before_account_wall_name', function ( int $user_id ): void {
echo '<p class="wall-name-note">' . esc_html__( 'Leave it blank to stay anonymous on the wall.', 'my-theme' ) . '</p>';
} );
Affects
- Subscriber Account Page
Need this built rather than just documented? See our services →