Core Function
View Source on Trac ↗ _clear_modified_cache_on_transition_comment_status()
_clear_modified_cache_on_transition_comment_status( mixed $new_status, mixed $old_status ) Clears the lastcommentmodified cached value when a comment status is changed.
Parameters 2 required
| Name / Type | Description |
|---|---|
| $new_status string | The new comment status. Required |
| $old_status string | The old comment status. Required |
Return Value
(void)
No return value description available.
Function Information
Since Version
4.7.0
Source File
wp-includes/comment.php
Advertisement