Kan geen gebruiker aanmaken in Discourse vanuit WP met nieuw registratieformulier

Just add an action trigger to your code.

do_action( 'wp_login' );