Filtering options

The ska_plugin_get_options_{slug} filter can be used to filter plugin and theme options:

Filtering ska-blocks plugin optionsPHP
add_filter('ska_plugin_get_options_ska_blocks', function($options) {
	if(defined('WP_DEBUG') && WP_DEBUG) {
		$options['styleCacheMode'] = 'off';
	}
	return $options;
});
Filtering ska-theme theme optionsPHP
add_filter('ska_plugin_get_options_ska_theme', function($options) {
	$options['trackScrollPosition'] = get_the_ID() === 123;
	return $options;
});