benecaster_memberpress_account_label
Filters the section heading injected into the MemberPress account page by Benecaster’s account integration. The default heading is 'Podcast Subscriptions'. This filter is only active when the MemberPress bridge is connected — it has no effect when MemberPress is not in use.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$label |
string |
— | Section heading; default 'Podcast Subscriptions' |
Returns:
string
Examples
Replace heading with custom label
add_filter( 'benecaster_memberpress_account_label', function( $label ) {
return 'Your Podcast Feeds';
} );
Return a localized heading string
add_filter( 'benecaster_memberpress_account_label', function ( string $label ): string {
return __( 'Your Podcast Access', 'my-theme' );
} );
Notes
Only active when the MemberPress bridge is connected. For equivalent hooks on other membership plugins, see benecaster_pmpro_account_link_label (Paid Memberships Pro) and benecaster_rcp_account_label (Restrict Content Pro).
Affects
- MemberPress account page — Podcast Subscriptions section