Skip to main content

Shortcode Output Filters

Filters for Shortcode Output. 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 final rendered HTML of most Benecaster shortcodes, one filter per shortcode.

Filter Description
benecaster_player_output Filters the full rendered HTML output of [benecaster_player]
benecaster_subscribe_output Filters the full rendered HTML output of [benecaster_subscribe]
benecaster_episode_description_output Filters the rendered HTML output of [benecaster_episode_description]
benecaster_latest_episode_output Filters the rendered HTML output of [benecaster_latest_episode]
benecaster_episode_link_output Filters the rendered HTML of an episode link inserted via the TipTap @ inline picker ([benecaster_episode_link])
benecaster_timestamp_output Filters the rendered HTML of a timestamp link inserted via the TipTap # trigger ([benecaster_timestamp])
benecaster_feed_url_output Filters the full rendered HTML output of [benecaster_feed_url]
benecaster_qr_code_output Filters the full rendered HTML output of [benecaster_qr_code]
benecaster_episodes_output Filters the full rendered HTML output of [benecaster_episodes]
benecaster_locked_content_message Filters the locked state HTML for a locked episode; parameters: ($html, $episode_id, $required_tier, $user_tier) — $required_tier is '' when undetermined; $user_tier is '' when not subscribed; fires in episode/player-locked.php and the player shortcode
benecaster_upgrade_prompt_html Filters the upgrade prompt HTML shown to logged-in subscribers at the wrong tier; parameters: ($html, $episode_id, $show_id, $required_tier, $user_tier)
benecaster_subscriber_count_output Filters the rendered output of [benecaster_subscriber_count]
benecaster_episode_count_output Filters the rendered output of [benecaster_episode_count]
benecaster_tier_price_output Filters the rendered output of [benecaster_tier_price]
benecaster_tier_name_output Filters the rendered output of [benecaster_tier_name]
benecaster_pricing_table_output Filters the rendered output of [benecaster_pricing_table]
benecaster_shortcode_base_styles Whether Benecaster’s base stylesheet for its front-end shortcodes loads. Return false to turn it off — wp_dequeue_style() does not work for it
benecaster_platform_icon_svg Filters the icon drawn for a platform in the icon styles of the social, platform, share and RSS link shortcodes

See Also

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