Function __global->points_balance

Definitions

sources/points.php

  • Get the number of points a member has to transact.
  • 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 to spend
  • Type: integer
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Get the number of points a member has to transact.
 *
 * @param  MEMBER $member_id The member
 * @return integer The number of points the member has to spend
 */

function points_balance(int $member_id) : int