SOptimizer 0.2.8 has 2 actions and 23 filters, read directly from its source code on Nov 19, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when SOptimizer fires an action
add_action( 'siskopfowo_ccss_generated', function( $state ) {
// Your code runs here.
}, 10, 1 );
// Change a value SOptimizer is about to use
add_filter( 'siskopfowo_asset_manager_support', function( $value, $data, $asset_rules ) {
// Change $value here.
return $value;
}, 10, 3 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
/** * Extension surface: addon support panels render inside the Asset Manager * dashboard (e.g. rule suggestions, integrations). */ apply_filters( 'siskopfowo_asset_manager_support', '', $data, $asset_rules ); -
/** * Filter the asset picker configuration array. */ apply_filters( 'siskopfowo_asset_picker_config', $picker_config ); -
/** * Fires when a generation run finishes (success, partial failure or total * failure). */ do_action( 'siskopfowo_ccss_generated', $state ); -
/** * Filter the Critical CSS provider list (key => label/url). */ apply_filters( 'siskopfowo_ccss_providers', $providers ); -
/** * Restrict which Feature Manager options the shared toggle endpoint may write. * Return an empty array to allow any `siskopfowo_` option. */ apply_filters( 'siskopfowo_feature_toggle_options', array() ); -
/** * Filter the settings index exposed to addons. */ apply_filters( 'siskopfowo_settings_index', $index ); -
/** * Filter the Speculation Rules payload before output. */ apply_filters( 'siskopfowo_speculation_rules', $rules ); -
/** * Filter the final transformed HTML document. */ apply_filters( 'siskopfowo_transformed_html', $html, $context ); -
apply_filters( 'siskopfowo_show_upgrade', true ); -
apply_filters( 'max_srcset_image_width', 1600, array( $full_w, 0 ) ); -
apply_filters( 'siskopfowo_admin_sections', $sections ); -
apply_filters( 'siskopfowo_admin_tab_labels', $labels ); -
apply_filters( 'siskopfowo_admin_tab_panel', '', $current_section, $current_tab ); -
apply_filters( 'siskopfowo_admin_tabs', $tabs ); -
apply_filters( 'siskopfowo_asset_manager_tabs', array() ); -
do_action( 'siskopfowo_pre_collect_tags', $html, $context ); -
apply_filters( 'siskopfowo_respimg_serve', $cache_file, $orig, $ext, $width ); -
apply_filters( 'siskopfowo_scan_snapshot_params', array( 'siskopfowo_auto_analyze' ) ); -
apply_filters( 'siskopfowo_telemetry_payload', $payload, $reason ); -
apply_filters( 'siskopfowo_transform_image_tag', $tag_result, $context ); -
apply_filters( 'siskopfowo_transform_media_tag', $tag_result, $context ); -
apply_filters( 'siskopfowo_transform_script_tag', $tag_result, $context ); -
apply_filters( 'siskopfowo_transform_style_tag', $tag_result, $context ); -
apply_filters( 'siteskyline_catalog_api_url', self::CATALOG_API_URL ); -
apply_filters( 'style_loader_tag', $style_tag, implode( ',', $handles ), $cache_url, $media );
Generated from SOptimizer's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Done for you
Rather have it built for you?
Tell us what should change and we’ll write and test the code using these hooks.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin customisation
from $149
New features or changed behaviour, without editing the plugin’s files.
- Built as a companion plugin, so updates never wipe it
- Exact quote before we start
- Tested on staging, then deployed
Typical turnaround: 3–7 business days
Choose thisNot sure which fits? Describe what you need and we’ll suggest the simplest option.
Can't find the right hook?
We can build the customisation for you. Describe what you need: