Static Snap 0.3.6 has 4 actions and 17 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.
// Change a value Static Snap is about to use
add_filter( 'the_content', function( $post_content ) {
// Change $post_content here.
return $post_content;
}, 10, 1 );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
-
/** * Filters the post arguments used during an async request. */ apply_filters( "{$this->identifier}_post_args", $args ); -
/** * Filters the post arguments used during an async request. */ apply_filters( "{$this->identifier}_query_args", $args ); -
/** * Filters the post arguments used during an async request. */ apply_filters( "{$this->identifier}_query_url", $url ); -
/** * Number of seconds to sleep between batches. Defaults to 0 seconds, minimum * 0. */ apply_filters( "{$this->identifier}_seconds_between_batches", apply_filters($this->prefix . '_seconds_between_batches', 0) ); -
/** * Should wp_die be used? */ apply_filters( "{$this->identifier}_wp_die", \true ); -
/** * Number of seconds to sleep between batches. Defaults to 0 seconds, minimum * 0. */ apply_filters( "{$this->prefix}_seconds_between_batches", 0 ); -
/** * Filter the file before rendering. this is useful if you want to change the * file path before rendering. For example, you can change the file path based * on you theme or plugin. Example: add_filter( * "static_snap_search_result_template_file", function( $file ){ return * "/mycustompath/mycustomfile.php" } ); */ apply_filters( "{Plugin::BASE_NAME}_{$class_name}_file", $__file ); -
apply_filters( 'the_content', $post->post_content ); -
do_action( "{$this->identifier}_cancelled" ); -
do_action( "{$this->identifier}_completed" ); -
apply_filters( "{$this->identifier}_default_time_limit", 20 ); -
apply_filters( "{$this->identifier}_memory_exceeded", $return ); -
do_action( "{$this->identifier}_paused" ); -
apply_filters( "{$this->identifier}_queue_lock_time", $lock_duration ); -
do_action( "{$this->identifier}_resumed" ); -
apply_filters( "{$this->identifier}_time_exceeded", $return ); -
apply_filters( "{Filters::SET_OPTIONS}_{$name}", $value, $name ); -
apply_filters( 'get_the_excerpt', $generated_excerpt, $post ); -
apply_filters( 'https_local_ssl_verify', \false ); -
apply_filters( 'static_snap_get_options', $db_options ); -
apply_filters( 'wpml_permalink', $url, $post->language_code );
Generated from Static Snap'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: