Aruba HiSpeed Cache icon
Performance & Caching

Aruba HiSpeed Cache hooks reference

  • By Aruba.it Dev
  • v3.2.0
  • Updated

Aruba HiSpeed Cache 3.2.0 has 0 actions and 4 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.

functions.phpyour child theme
// Change a value Aruba HiSpeed Cache is about to use
add_filter( 'ahsc_post_type_may_purge', function( $ahsc_may_purge, $post_type ) {
	// Change $ahsc_may_purge here.
	return $ahsc_may_purge;
}, 10, 2 );

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

  • src/Events/AHSC_PostType.php line 450
    /**
     * Filters whether a change to a post type triggers a proxy cache purge.
     */
    apply_filters( 'ahsc_post_type_may_purge', $ahsc_may_purge, $post_type );
  • src/AHSC_Lazyload.php line 113
    apply_filters( 'wp_img_tag_add_loading_attr', 'lazy', $image, $context );
  • src/AHSC_Lazyload.php line 127
    apply_filters( 'wp_img_tag_add_srcset_and_sizes_attr', true, $image, $context, $attachment_id );
  • src/AHSC_Lazyload.php line 53
    apply_filters( 'wp_lazy_loading_enabled', $default, $tag_name, $context );

Generated from Aruba HiSpeed Cache'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: