benecaster_wc_account_tab_label
Filters the label of the “Podcast Subscriptions” tab injected into the WooCommerce My Account page. The tab is registered when the WooCommerce Subscriptions bridge is active; this filter lets you rename it to match your site’s language or branding without modifying template files.
Only active when the WooCommerce Subscriptions bridge is connected. After changing the label, WordPress may need a permalink flush before the new tab endpoint displays correctly. If the tab does not appear after filtering, go to Settings > Permalinks and click Save.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$label |
string |
— | Tab label; default 'Podcast Subscriptions' |
Returns:
string
Examples
Rename tab generically
add_filter( 'benecaster_wc_account_tab_label', function( $label ) {
return 'My Podcast Feeds';
} );
Rename tab with translation support
add_filter( 'benecaster_wc_account_tab_label', function ( string $label ): string {
return __( 'My Podcast Access', 'my-theme' );
} );
Notes
Only active when the WooCommerce Subscriptions bridge is connected. Requires a WordPress permalink flush after activation — go to Settings > Permalinks and click Save if the tab does not appear.
Affects
- WooCommerce My Account — Podcast Subscriptions tab