wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_update_comment_count › WordPress Action Hooks

Da2.3.0
Deprecaton/a
do_action( 'wp_update_comment_count', $post_id, $new, $old )
Parametri: (3)
  • (int) $post_id Post ID.
    Richiesto:
  • (int) $new The new comment count.
    Richiesto:
  • (int) $old The old comment count.
    Richiesto:
Definito a:
Codex:

Fires immediately after a post's comment count is updated in the database.





Sorgenti

do_action( 'wp_update_comment_count', $post_id, $new, $old );