Filter Reference

Sermon Presentation

esh_single_sermon_video_id
applied to the video ID of the video shown for a sermon.
esh_single_sermon_audio_id
applied to the audio ID of audio available for a sermon.
esh_single_sermon_button_listen_label
applied to the label of the Listen button for a sermon.
esh_single_sermon_button_watch_label
applied to the label of the Watch button for a sermon.
esh_single_sermon_files_notice
applied to the notice given when files are available for a sermon.
esh_single_sermon_files
applied to the files included with a sermon.
esh_single_sermon_social_links
applied to the social links array used when displaying social links for a sermon.
esh_single_sermon_social_link_html
applied to the HTML to display a single social link for a sermon.
esh_single_sermon_social_links_html
applied to the HTML displayed for social links for a sermon.
esh_single_sermon_preachers_section_html
applied to the HTML used for the preachers section displayed for a sermon.
esh_single_sermon_date_section_html
applied to the HTML used for the date section displayed for a sermon.
esh_single_sermon_verse_section_html
applied to the HTML used for the verse section displayed for a sermon.

Options Filters

esh_options_page
applied to the array of option tabs to be displayed by CMB2. Use this filter to add custom tabs and options.
esh_option_name
applied to get_option and update_option calls for plugin options from version 1.7+.
esh_dcoptions_option_name
applied to get_option and update_option calls from legacy plugin options prior to version 1.7.

Podcasting Filters

esh_can_display_podcast_feed
applied to a boolean determining whether a given podcast feed can be accessible.
esh_can_update_podcast_feed
applied to a boolean determining whether a given podcast feed can be updated.
esh_can_remove_podcast_feed
applied to a boolean determining whether a given podcast feed can be removed.
esh_get_podcast_feeds_args
applied to the arguments array used when retrieving a list of podcasts on the back-end and those to make publicly accessible. See esh_can_display_podcast_feed for more granular control over whether an individual podcast feed is accessible.

Plugin Initialization

esh_plugin_data
applied to the plugin_data property in the ESH class.
esh_includes
applied to array of files to include or require when Easy Sermon Hub is loaded.
dc_sermons_plugin_data (deprecated)
applied to the plugin_data property in the ESH class. Use esh_plugin_data instead.
dc_sermons_includes (deprecated)
applied to array of files to include or require when Easy Sermon Hub is loaded. Use esh_includes instead.