Function __global->_points_adjust_cpf

Definitions

sources/points2.php

  • Adjust a custom profile field for points and update the cache.This API method should normally never be called outside _points_transact as doing so violates the tenets of the points system.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: void

Parameters

Name Type Default Set Range Description
$member_id MEMBER required parameter N/A N/A The member to adjust
$field_name ID_TEXT required parameter N/A N/A The custom field to adjust
$adjustment integer required parameter N/A N/A By how much to adjust the field (use a negative number to subtract)