Episode Page Blocks Filters
Filters for Episode Page Blocks. Every other area is listed on the Filter Hooks Reference. Each name links to its own page, with its parameters, notes and an example.
Register, reorder, or replace the rendered HTML of the blocks that make up an episode page — related episodes, navigation, share buttons, social links, and platform links — and the shortcodes that mirror several of them.
| Filter | Description |
|---|---|
benecaster_episode_page_block_types |
Registers or modifies block type definitions for the Episode Page settings panel. A block’s own settings are a React fill in the BenecasterEpisodePageBlockSettings_{slug} slot, not the settings key: see Give your Episode Page block its own settings |
benecaster_episode_page_blocks |
Filters the ordered block list before an episode page renders; each block: {slug, enabled, config} |
benecaster_episode_page_block_{slug} |
Filters the rendered HTML for one specific Episode Page block (dynamic filter name — {slug} matches the block type slug); return '' to suppress |
benecaster_related_episodes_query_types |
Registers or modifies query type strategies for the Related Episodes block and [benecaster_related_episodes]; a strategy that throws is logged and the list falls back to latest |
benecaster_related_episodes |
Filters the related episodes array before rendering, for the Related Episodes block and [benecaster_related_episodes] |
benecaster_erasure_request_output |
Filters the rendered HTML of [benecaster_erasure_request] and the account page’s Erase My Data section, in every state. |
benecaster_related_episodes_output |
Filters the rendered HTML output of the Related Episodes block and [benecaster_related_episodes] |
benecaster_episode_nav_output |
Filters the rendered HTML of the Episode Navigation block and [benecaster_episode_nav] shortcode |
benecaster_episode_share_text |
Filters the share text for a specific platform in the Share Buttons block |
benecaster_episode_preview_video |
Filters what a locked visitor’s video preview plays. Return [] for none. |
benecaster_episode_preview_video_html |
Filters the video preview player’s markup. Return '' to show none. |
benecaster_episode_share_output |
Filters the rendered HTML output of the Share Buttons block and [benecaster_episode_share] shortcode |
benecaster_show_social_links |
Filters the show social links array for the Social Links block and [benecaster_social_links] shortcode |
benecaster_social_links_output |
Filters the rendered HTML output of the Social Links block and [benecaster_social_links] shortcode |
benecaster_rss_link_output |
Filters the rendered HTML of the RSS Subscribe button and [benecaster_rss_link] shortcode |
benecaster_platform_links_output |
Filters the rendered HTML of the Platform Links block and [benecaster_platform_links] shortcode |
See Also
Need this built rather than just documented? See our services →