# לא ניתן ליצור משתמש ב-Discourse מ-WP עם טופס הרשמה חדש

**URL:** <https://meta.discourse.org/t/unable-to-create-user-in-discourse-from-wp-with-new-registration-form/233700>\
**Category:** WordPress\
**Created:** [22 ביולי,‏ 2022,‏ 9:36pm UTC](https://meta.discourse.org/t/unable-to-create-user-in-discourse-from-wp-with-new-registration-form/233700 "2022-07-22T21:36:27Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)\
**Post date:** [28 ביולי,‏ 2022,‏ 6:24pm UTC](https://meta.discourse.org/t/unable-to-create-user-in-discourse-from-wp-with-new-registration-form/233700/11 "2022-07-28T18:24:22Z")

</div>

> [@Himanshu\_Singh](#):
>
> This is the part I don’t know how to do i.e. trigger wp\_login from a custom hook.

Just add an action trigger to your code.

```plaintext
do_action( 'wp_login' );

```

---

_[View the full topic](https://meta.discourse.org/t/unable-to-create-user-in-discourse-from-wp-with-new-registration-form/233700)._
