Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: clean_page_cache

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
5467           wp_cache_delete( 'all_page_ids', 'posts' );
5468
5469           /**
5470            * Fires immediately after the given page's cache is cleaned.
5471            *
5472            * @since 2.5.0
5473            *
5474            * @param int $post_id Post ID.
5475            */
5476           do_action( 'clean_page_cache', $post->ID );
5477      }
5478
5479      wp_cache_set( 'last_changed', microtime(), 'posts' );
5480 }
5481
5482 /**
5483  * Call major cache updating functions for list of Post objects.
5484  *
5485  * @since 1.5.0