benecaster_rcp_account_label
Filters the heading of the Podcast Subscriptions section Benecaster adds to Restrict Content Pro’s subscription page. The section, with the member’s feed link, app buttons and QR code, sits at the bottom of the page that holds RCP’s [subscription_details] shortcode, below its Invoices table. Use to translate the heading, match your site’s terminology, or replace it with a custom phrase.
This filter is only active when the Restrict Content Pro bridge is connected to at least one show.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$label |
string |
— | Section heading; default 'Podcast Subscriptions' |
Returns:
string
Examples
Override section heading
add_filter( 'benecaster_rcp_account_label', function ( $label ) {
return 'My Podcast Subscriptions';
} );
Return translated heading
add_filter( 'benecaster_rcp_account_label', function ( string $label ): string {
return __( 'Your Podcast Access', 'my-theme' );
} );
Notes
Only fires when the Restrict Content Pro bridge is connected. The section renders on RCP's rcp_subscription_details_bottom action.
Affects
- Restrict Content Pro account page — Podcast Subscriptions section
Need this built rather than just documented? See our services →