You could also use the hook pre_comment_on_post
to exit early:
add_action( 'pre_comment_on_post', '_scalar_wp_die_handler' );
This will not change the database.
You could also use the hook pre_comment_on_post
to exit early:
add_action( 'pre_comment_on_post', '_scalar_wp_die_handler' );
This will not change the database.