Hooks & Filter

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.



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:

Hooks & Filter 1


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.

Hooks & Filter 2


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.

Hooks & Filter 3


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.

Hooks & Filter 4


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).

Hooks & Filter 5


You can use this filter to remove the excerpt from the Algolia search integration.

Hooks & Filter 6