Notifications
Clear all

Script [Closed] Hooks for subscription

1 Posts
1 Users
0 Reactions
423 Views
Posts: 3
Topic starter
(@velten)
Active Member
Joined: 2 years ago

Hi, i need an automatic subscription for some forums, for example id 3 and 4 for a userid

if want to add a function like this

 

function my_um_after_user_is_approved( $user_id ) {
    WPF()->sbscrb->subscribe( $user_id, 3);
    WPF()->sbscrb->subscribe( $user_id, 4);
}

but i didn't find a function for this. Is there a hook for this ?