comment_id_not_found

comment_id_not_found

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

See hook in core

Displaying hooks found in version: wordpress-6.7.2

do_action('comment_id_not_found') is found 1 times:

  • /wp-includes/comment.php line 3549
    3545
    3546
    3547
    3548
    3549
    3550
    3551
    3552
    3553
    3554
    3555
         * @since 1.5.0
         *
         * @param int $comment_post_id Post ID.
         */
        do_action( 'comment_id_not_found', $comment_post_id );
     
        return new WP_Error( 'comment_id_not_found' );
     
    }
     
    // get_post_status() will get the parent status for attachments.