Function addSubscription
Add or extend a subscription of a user.
Package: SMF
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/ManagePaid.php
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/ManagePaid.php
integer |
$id_subscribe |
The subscription ID |
integer |
$id_member |
The ID of the member |
integer|string |
$renewal = 0 |
0 if we're forcing start/end time, otherwise a string indicating how long to renew the subscription for ('D', 'W', 'M' or 'Y') |
integer |
$forceStartTime = 0 |
If set, forces the subscription to start at the specified time |
integer |
$forceEndTime = 0 |
If set, forces the subscription to end at the specified time |