wpseek.com
A WordPress-centric search engine for devs and theme authors
wp_defer_comment_counting › WordPress Function
Since2.5.0
Deprecatedn/a
› wp_defer_comment_counting ( $defer = null )
Parameters: |
|
Returns: |
|
Defined at: |
|
Codex: |
Determines whether to defer comment counting.
When setting $defer to true, all post comment counts will not be updated until $defer is set to false. When $defer is set to false, then all previously deferred updated post comment counts will then be automatically updated without having to call wp_update_comment_count() after.