ss_parse_inline_style

How to use: add_filter( 'ss_parse_inline_style', $your_callback_here );

About WordPress filters: https://developer.wordpress.org/reference/functions/add_filter/

Included in: Simply Static Core/Free 3.1.6.1+

Overview

The ss_parse_inline_style filter allows you to disable the default parsing of inline styles by Simply Static during the export process. This filter can be useful when a closing </style> tag is being removed during export. When the $callback of the filter (the second parameter of the add_filter function) is set to "__return_false" the "ss_parse_inline_style" function will be disabled.

Code Snippet

This code snippet disables the default parsing of inline styles performed by Simply Static during the static site generation process:

add_filter( 'ss_parse_inline_style', '__return_false' );