Clanbite Points

class Engine

Core awarding logic.

class final

Full name
Kernowdev\ClanbitePoints\Points\Engine

Methods

  • award() Award points for every matching rule across all point types.
  • migrate_legacy_rule_caps() One-time conversion of saved rules from the old points cap (max_points) to max_times.
  • revoke() Take back the points a reference earned (a deleted post, a removed reaction, an ended friendship).
  • rule_max_times() How many times a rule may be earned per period (0 = unlimited).

Defined in inc/Points/Engine.php

Changelog

VersionDescription
1.4.0Updated.
1.1.0Updated.