Make WordPress Core


Ignore:
Timestamp:
01/29/2009 10:22:20 PM (13 years ago)
Author:
ryan
Message:

wp_insert_comment action

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/comment.php

    r10453 r10465  
    889889        wp_update_comment_count($comment_post_ID);
    890890
     891    $comment = get_comment($id);
     892    do_action('wp_insert_comment', $id, $comment);
     893
    891894    return $id;
    892895}
Note: See TracChangeset for help on using the changeset viewer.