WP Fastest Cache icon
Performance & Caching

WP Fastest Cache hooks reference

  • By Emre Vona
  • v1.5.5 New
  • Updated

WP Fastest Cache 1.5.5 has 8 actions and 14 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
// Run your own code when WP Fastest Cache fires an action
add_action( 'wpfc_after_ip_block_change', function() {
	// Your code runs here.
}, 10, 1 );

// Change a value WP Fastest Cache is about to use
add_filter( 'wpfc_show_security_beta', function( $value ) {
	// Change $value here.
	return $value;
}, 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

  • inc/admin.php line 1116 · used in 2 places
    /**
     * Filters whether the Security beta tab is available in the admin interface.
     */
    apply_filters( 'wpfc_show_security_beta', false );
  • inc/security.php line 141
    /**
     * Hook: wpfc_blocked_ips_by_type
     */
    apply_filters( 'wpfc_blocked_ips_by_type', $results, $type );
  • inc/security.php line 895 · used in 7 places
    do_action( 'wpfc_after_ip_block_change' );
  • inc/cache.php line 918 · used in 3 places
    apply_filters( 'wpfc_buffer_callback_filter', $buffer, "html", $this->cacheFilePath );
  • inc/cache.php line 1122 · used in 3 places
    do_action( 'wpfc_is_cacheable_action' );
  • wpFastestCache.php line 2830 · used in 2 places
    do_action( 'wpfc_clear_all_cache' );
  • wpml_setting

    filter
    inc/admin.php line 786 · used in 2 places
    apply_filters( 'wpml_setting', false, 'language_negotiation_type' );
  • wpFastestCache.php line 2853
    do_action( 'wpfc_clear_cache_by_url', $url );
  • wpFastestCache.php line 377
    apply_filters( 'wpfc_clear_cache_url_token', false );
  • wpFastestCache.php line 2847
    do_action( 'wpfc_clear_post_cache_by_id', false, $post_id );
  • wpFastestCache.php line 2859
    do_action( 'wpfc_create_post_cache_by_id', $post_id );
  • inc/css-utilities.php line 550
    apply_filters( 'wpfc_css_content', $content, null, null );
  • wpFastestCache.php line 1959
    do_action( 'wpfc_delete_cache' );
  • wpFastestCache.php line 2842
    do_action( 'wpfc_exclude_current_page' );
  • wpFastestCache.php line 1013
    apply_filters( 'wpfc_hide_toolbar', false );
  • wpFastestCache.php line 1379
    apply_filters( 'wpml_active_languages', null, array('skip_missing' => 0) );
  • wpFastestCache.php line 1292
    apply_filters( 'wpml_current_language', NULL );
  • wpml_home_url

    filter
    wpFastestCache.php line 1286
    apply_filters( 'wpml_home_url', get_option('home') );
  • wpFastestCache.php line 1384
    apply_filters( 'wpml_object_id', $product_id, 'product', false, $language_code );
  • inc/preload.php line 6
    apply_filters( 'wpml_post_language_details', NULL, $post_id );

Generated from WP Fastest 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: