Filters to adjust the default content and display of the landing page for an individual Sitewide Sale.
Filter Hooks
apply_filters( 'swsales_landing_page_content_{$landing_template}', $r );
apply_filters( 'swsales_landing_page_content', $r, $landing_template );
About Actions and Filters in Sitewide Sales
Hooks allow you to extend Sitewide Sales without editing any core plugin files. You can use a hook to program custom code that interacts with or modifies code in our plugin, other plugins, your theme, and even WordPress itself.
There are two kinds of hooks: actions and filters.
- Action hooks allow you to run new custom code at pre-defined locations.
- Filter hooks allow you change or extend existing code by modifying the data and returning it back to the software.
Click here to browse the full database of action and filter hooks available in Sitewide Sales. For help extending core WordPress, refer to the WordPress Developer Handbook’s documentation on Filters and Actions.