Function __global->points_used
Definitions
sources/points.php
- Get the total points the specified member has used (does not include gift points).
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: int
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $member_id | MEMBER | No | No | required parameter | N/A | N/A | The member |
Returns
- The number of points the member has spent
- Type: integer
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Get the total points the specified member has used (does not include gift points).
*
* @param MEMBER $member_id The member
* @return integer The number of points the member has spent
*/
function points_used(int $member_id) : int
* Get the total points the specified member has used (does not include gift points).
*
* @param MEMBER $member_id The member
* @return integer The number of points the member has spent
*/
function points_used(int $member_id) : int

