Skip to main content

benecaster_follower_tier_slug

Filter Premium

Filters the tier slug written to the token record when a follower signs up through the [benecaster_follower_signup] shortcode. The default slug 'follower' is intentionally distinct from any membership bridge tier slug — this prevents follower tokens from being matched against bridge mappings and counted as paying subscribers.

The slug also appears in the follower’s feed URL — /podcast-feed/{show}/{slug}/?token=… — so the common use on multi-show sites is returning a per-show slug that reads sensibly in the URL, such as 'my-show-follower'.

It does not control what the feed carries. A follower feed serves your public feed’s episodes; there is no per-episode follower availability for a slug to target. Changing this on a live show changes every follower’s feed URL, so set it before you publish a signup form.

Parameters

Name Type Default Description
$tier_slug string Tier slug assigned to follower tokens; default 'follower'
$show_id int ID of the show

Returns: string

Examples

Rename follower tier to listener

add_filter( 'benecaster_follower_tier_slug', function ( string $tier_slug, int $show_id ): string {
    return 'listener';
}, 10, 2 );

Per-show follower tier slug for multi-show site

add_filter( 'benecaster_follower_tier_slug', function ( string $tier_slug, int $show_id ): string {
    $show = get_post( $show_id );
    return $show ? $show->post_name . '-follower' : $tier_slug;
}, 10, 2 );

Notes

The returned slug must not match any value in the bridge tier mapping table. A collision would cause follower tokens to be counted in the paying subscriber total, affecting plan limit calculations. Always use a suffix — such as -follower — that cannot be produced by a membership plugin tier mapping.

Affects

Need this built rather than just documented? See our services →