Fires immediately after the given post’s cache is cleaned.
Parameters
$post_id
int- Post ID.
$post
WP_Post- Post object.
Source
do_action( 'clean_post_cache', $post->ID, $post );
Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |
Fires immediately after the given post’s cache is cleaned.
$post_id
int$post
WP_Postdo_action( 'clean_post_cache', $post->ID, $post );
Version | Description |
---|---|
2.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.