Filters and actions to adjust the display, behavior, content, and appearance of the banner for an individual Sitewide Sale.
Filter Hooks
apply_filters( 'swsales_registered_banners', $registered_banners );
apply_filters( 'swsales_show_banner', true, $active_sitewide_sale );
apply_filters( 'swsales_banner_text', $active_sitewide_sale->get_banner_text(), $location, $active_sidewide_sale );
apply_filters( 'swsales_banner_content_{$banner_template}', $content, $banner_location );
apply_filters( 'swsales_banner_content', $content, $banner_template, $banner_location );
apply_filters( 'swsales_is_checkout_page', false, $active_sitewide_sale );
Action Hooks
do_action( 'swsales_before_banner_button', $active_sitewide_sale );