Notifications
Clear all

Limited Support

Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

Script [Closed] Hooks for subscription

1 Posts
1 Users
0 Reactions
634 Views
Posts: 3
Topic starter
(@velten)
Active Member
Joined: 3 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 ?