Used by the central banking service in the Banking add-on, this filter allows you to inform the add-on which references it should ignore. By default, transfers and interest payouts are ignored by the central bank, preventing large number of log entries to be saved with each event.
Param | Type | Required | Description |
---|---|---|---|
$references |
array | Yes | An Array of references that should be ignored by the central bank. Defaults to: |
Package | Prio. | Description |
---|---|---|
Not used by any built-in package. |
Example 1: Add the custom reference “gift“ to the list.
function mycred_pro_add_bank_exception( $references ) { $references[] = 'gift'; return $references; } add_filter( 'mycred_central_banking_ignore', 'mycred_pro_add_bank_exception' );