benecaster_subscribe_tier_content
Fires inside each tier card rendered by [benecaster_subscribe], after the tier name and price are output but before the subscribe button. Output echoed from this hook appears as part of the card’s content area. The hook fires once per tier card per shortcode render.
Use this hook to inject a feature list, benefits summary, badge, or promotional callout into specific tier cards. Check $tier_slug to target a particular tier — output is echoed for all tiers unless your callback guards on the slug.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$tier_slug |
string |
— | Slug of the tier whose card is currently rendering |
$show_id |
int |
— | ID of the show |
Examples
Inject feature list in premium tier card
add_action( 'benecaster_subscribe_tier_content', function ( string $tier_slug, int $show_id ): void {
if ( 'premium' !== $tier_slug ) {
return;
}
echo '<ul class="tier-features">
<li>Ad-free episodes</li>
<li>Early access (24 hours early)</li>
<li>Bonus episodes</li>
</ul>';
}, 10, 2 );
Affects
- [benecaster_subscribe](/shortcodes/benecaster-subscribe/) shortcode