_clear_modified_cache_on_transition_comment_status


_clear_modified_cache_on_transition_comment_status ( $new_status, $old_status )

Access:
  • private
Parameters:
  • (string) new_status The new comment status.
  • (string) old_status The old comment status.
Defined at:

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.

Related Functions

wp_transition_comment_status, _transition_post_status, _update_posts_count_on_transition_post_status, _update_term_count_on_transition_post_status, wp_transition_post_status

Top Google Results

User discussions

wpseek mobile