Automatically create WP-user for every new event #814
-
Is it possible to automatically activate creating a WP-user in all new events? A snippet would do as well. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
This hook is for you then: eme_event_preinsert_filter (see https://www.e-dynamics.be/wordpress/hooks-and-filters/ ) |
Beta Was this translation helpful? Give feedback.
-
Dank! Heb volgende code gebruikt en het werkt.
|
Beta Was this translation helpful? Give feedback.
This hook is for you then: eme_event_preinsert_filter (see https://www.e-dynamics.be/wordpress/hooks-and-filters/ )
==> it gets the event as an array and expects the modified array as return. Do a print_r on the array to see what's in it.