dashed-slug.net › Forums › WooCommerce Cryptocurrency Payment Gateway extension support › Transaction record › Reply To: Transaction record
November 7, 2018 at 6:29 am
#5012
alexg
Keymaster
Sure. The transactions are loaded via the JSON API get_transactions
.
This uses the filter wallets_api_transactions
. See here for documentation.
If you hook to that filter with a priority higher than 10 you can modify all the data that the frontend receives.
You could simply loop through all transactions and if other_account_name
is the username of the admin, set it to something else. Please let me know if you encounter any problems with this.
with regards