Skip to main content

benecaster_rcp_account_label

Filter Premium

Filters the section heading injected into the Restrict Content Pro account page. Benecaster appends this heading and the subscriber’s podcast subscription details below the member profile form. 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. Hooked via rcp_after_member_profile_form on MembershipAccountIntegration.

Affects

  • Restrict Content Pro account page — Podcast Subscriptions section