Skip to main content

Templates — Episode Page Filters

Filters for Templates — Episode Page. Every other area is listed on the Filter Hooks Reference. Each name links to its own page, with its parameters, notes and an example.

Filter the custom fields shown on an episode page and the previous/next navigation links and subscribe fallback text.

Filter Description
benecaster_episode_custom_fields Filters the custom fields renderable groups array before output in episode/custom-fields.php; each group is {heading, fields[]}
benecaster_episode_nav_prev Filters the WP_Post object for the previous episode in episode/navigation.php; return null to suppress the previous link
benecaster_episode_nav_next Filters the WP_Post object for the next episode in episode/navigation.php; return null to suppress the next link
benecaster_episode_subscribe_fallback_message Filters the subscribe CTA fallback text shown in episode/subscribe.php when no subscribe URL is configured

See Also

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