Simply Static and Simply Static Pro provides a lot of useful filters and actions to modify the behavior of static exports. This docs section is dedicated to developers, so expect a lot of code to read.
Table of Contents
You can use this filter to modify the Simply Static settings array. Useful if you want to change certain options temporarily. A use case for that could be changing the export directory based on the language you are currently selected. It’s used to make the multilingual integration in Simply Static Pro:
You can use that filter to modify the list of tags and attributes Simply Static uses to extract information from the HTML of your website. This can be used to add support for background images for example.
This filter can be used to change the URL Simply Static is using to export a static version of your website. This is useful if your admin URL differs from the frontend URL of your website.
You can use this filter to increase the number of pages Simply Static is fetching per iteration. This can increase the export speed but can also cause a timeout if you processing large batches on a cheap server.
You can use this filter to deactivate the e-mail notification send by the Simply Static webhook after someone submits your form on your static website. This can be useful if you integrate your own process (parsing information, sending it to external services).
You can use this filter to remove the excerpt from the Algolia search integration.