Notifications
Clear all

Interfacing with wpDiscuz

3 Posts
2 Users
0 Likes
1,055 Views
(@gutterboy)
Eminent Member
Joined: 6 years ago
Posts: 25
Topic starter  

Just wondering if there was a way we could interface with wpDiscuz? Like does it have any event handlers such as when a new user registers (either a standard registration or a social media login for the first time) so that you can run some some specific code afterwards?


   
Quote
Astghik
(@astgh)
Illustrious Member Admin
Joined: 6 years ago
Posts: 5874
 

Hi gutterboy,

wpDiscuz uses WordPress wp_insert_user() function. 

You can use WordPress hooks to write your specific code, that you need.

More info here:

https://codex.wordpress.org/Function_Reference/wp_insert_user


   
ReplyQuote
(@gutterboy)
Eminent Member
Joined: 6 years ago
Posts: 25
Topic starter  

Excellent - thanks!


   
ReplyQuote
Share:
Scroll to top