clean_page_cache WordPress Action Hook
The clean_page_cache hook is called when a page is updated or edited. It allows you to clean the page cache so that the changes are reflected immediately.
do_action( 'clean_page_cache', int $post_id ) #
Fires immediately after the given page’s cache is cleaned.
Parameters
- $post_id
(int)Post ID.
Source
File: wp-includes/post.php
Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |