Action Reference
The following actions are available to use to extend or modify the functionality of Seriously Simple Podcasting:
wp_file_download
Location: This action is triggered before an episode audio file is downloaded allowing you to perform additional actions prior to the download.
Arguments:
- $file - string The full URL of the audio file
- $episode - object The post object of the podcast episode
Code reference: includes/class-ssp-frontend.php
wp_meta_boxes
Location: This action is triggered after the episode details meta box is added to the post edit screen - it allows you to add additional meta boxes to episodes.
Arguments:
- $post - object The post object
Code reference: includes/class-ssp-admin.php
wp_before_feed
Location: This action is triggered before the podcast feed is displayed. Any functions hooked in here must not output any data or else feed will return an error.
Arguments: None
Code reference: includes/class-ssp-admin.php
wp_after_feed
Location: This action is triggered after the podcast feed is displayed. Any functions hooked in here must not output any data or else feed will return an error.
Arguments: None
Code reference: includes/class-ssp-admin.php