ss_excluded_by_default
How to use: add_filter()
Included in: Simply Static Core/Free 3.2.0+
Overview
The ss_excluded_by_default filter lets you modify the list of strings automatically skipped when running a static site export.
Example
The following code snippet adds the wp-content/cache/ directory to the list of excluded strings:
add_filter('ss_excluded_by_default', function( $excluded ) { // Excluded contains an array of strings that are excluded by default. // Add your own strings to this array to exclude them from the static site. $excluded[] = 'wp-content/cache'; return $excluded; });