Custom action on comment post October 15, 2022 by Tarik Billa You can use wp_insert_comment action, which is triggered on every comment insertion.