ss_default_extension_type

How to use: add_filter()

Included in: Simply Static Core/Free 3.2.0+

Overview

The ss_default_extension_type filter allows you to switch to another default extension for your HTML files. A good example of a use case for this filter is the usage of SHTML.

Example

The following code snippet will set the default file extension to SHTML:

add_filter('ss_default_extension_type', function( $extension ) {
    $extension = 'shtml';
    return $extension;
});