_clear_modified_cache_on_transition_comment_status
- %1$s is private and should not be used in themes or plugins directly.
_clear_modified_cache_on_transition_comment_status ( $new_status, $old_status )
Access:Parameters:- (string) new_status The new comment status.
- (string) old_status The old comment status.
Defined at: - Introduced in WordPress: 4.7.0
- Deprecated in WordPress: —
Description
Clears the lastcommentmodified cached value when a comment status is changed.Deletes the lastcommentmodified cache key when a comment enters or leaves
'approved' status.