SpinupWP 1.9.1 has 10 actions and 11 filters, read directly from its source code on Nov 17, 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 SpinupWP fires an action
add_action( 'redis_object_cache_delete', function( $key, $group, $execute_time ) {
// Your code runs here.
}, 10, 3 );
// Change a value SpinupWP is about to use
add_filter( 'redis_cache_expiration', function( $expire, $key, $group, $orig_exp ) {
// Change $expire here.
return $expire;
}, 10, 4 );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
-
redis_cache_expiration
filter/** * Filters the cache expiration time */ apply_filters( 'redis_cache_expiration', $expire, $key, $group, $orig_exp ); -
redis_object_cache_delete
action/** * Fires on every cache key deletion */ do_action( 'redis_object_cache_delete', $key, $group, $execute_time ); -
redis_object_cache_get_value
filter/** * Filters the return value */ apply_filters( 'redis_object_cache_get_value', $value, $key, $group, $force, $found ); -
redis_object_cache_set
action/** * Fires on every cache set */ do_action( 'redis_object_cache_set', $key, $value, $group, $expiration, $execute_time ); -
/** * Filters list of groups to be added to {@see self::$ignored_groups} */ apply_filters( 'redis_cache_add_non_persistent_groups', (array) $groups ); -
redis_object_cache_error
action/** * Fires when an object cache related error occurs. */ do_action( 'redis_object_cache_error', $exception, $exception->getMessage() ); -
redis_object_cache_flush
action/** * Fires on every cache flush */ do_action( 'redis_object_cache_flush', $results, 0, $selective, $salt, $execute_time ); -
/** * Fires on every group cache flush */ do_action( 'redis_object_cache_flush_group', $results, $salt, $execute_time ); -
redis_object_cache_get
action/** * Fires on every cache get request */ do_action( 'redis_object_cache_get', $key, $value, $group, $force, $found, $execute_time ); -
/** * Fires on every cache get multiple request */ do_action( 'redis_object_cache_get_multiple', $keys, $cache, $group, $force, $execute_time ); -
apply_filters( 'spinupwp_purge_cache_capability', 'manage_options' ); -
spinupwp_admin_bar_title
filterapply_filters( 'spinupwp_admin_bar_title', __( 'Cache', 'spinupwp' ) ); -
spinupwp_cache_keys_for_url
filterapply_filters( 'spinupwp_cache_keys_for_url', $cache_keys, $url ); -
spinupwp_post_purged
actiondo_action( 'spinupwp_post_purged', $post, $result ); -
apply_filters( 'spinupwp_post_types_excluded_from_purge', array( 'attachment', 'custom_css', 'revision', 'user_request' ) ); -
apply_filters( 'spinupwp_post_types_needing_single_purge', array() ); -
spinupwp_public_post_types
filterapply_filters( 'spinupwp_public_post_types', $post_types ); -
apply_filters( 'spinupwp_should_purge_post_status', true ); -
apply_filters( 'spinupwp_should_use_object_cache_dropin', true ); -
spinupwp_site_purged
actiondo_action( 'spinupwp_site_purged', $result ); -
spinupwp_url_purged
actiondo_action( 'spinupwp_url_purged', $url, $deleted );
Generated from SpinupWP's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Can't find the right hook?
We can build the customisation for you. Describe what you need: