akismet_submit_spam_comment

akismet_submit_spam_comment

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.7.2

do_action('akismet_submit_spam_comment') is found 1 times:

  • /wp-content/plugins/akismet/class.akismet.php line 1030
    1026
    1027
    1028
    1029
    1030
    1031
    1032
    1033
    1034
    1035
    1036
        if ( $comment['reporter'] ) {
            update_comment_meta( $comment_id, 'akismet_user', $comment['reporter'] );
        }
     
        do_action( 'akismet_submit_spam_comment', $comment_id, $response[1] );
    }
     
    public static function submit_nonspam_comment( $comment_id ) {
        global $wpdb, $current_user, $current_site;
     
        $comment_id = (int) $comment_id;