Deprecate edd_flush_earnings_cache(). #1547
Deprecate edd_flush_earnings_cache(). #1547
Introduce edd_increase/decrease_total_earnings(). #1547
Use edd_increase/decrease_total_earnings() dur payment completion, payment refunds, and payment deletions. #1547
Only decrease earnings if previous status is complete or revoked. #1547
store the total earnings on the first time they are calculated / retrieved. #1547
Clear necessary caches when earnings are increased / decreased. #1547
Merge branch 'feature/all-earnings'