-
FAQ
- Forum Search
- Community
- Online Manual
- Support Helpers of the Month
- Function Database
removeSubscription
Description
Removes a subscription for a user.
Syntax
void removeSubscription (int $id_subscribe, int $id_member[, bool $delete])
Parameter $id_subscribe
Expected type: Integer
Description: Subscription ID
Parameter $id_member
Expected type: Integer
Description: Member ID
Parameter $delete
Expected type: Boolean
Description: Whether or not to delete this subscription for this member. Defaults to false.
Notes
- Handles any necessary group membership changes
- Disables the subscription
- Deletes the subscription if $delete is true
Advertisement:- Help | Terms and Rules | Go Up ▲
- Copyright © 2022 Simple Machines. All Rights Reserved.
- Page created in 0.121 seconds with 13 queries.
- Forum Search