I reply to all queries on the forums and via email, once per day, Monday to Friday (not weekends).

If you are new here, please see some information on how to ask for support. Thank you!

Reply To: How to debug this ?

#3239
alexg
Keymaster

Hi,

My apologies. This is my fault.

You cannot hook to the wallets_multiadapter_coins filter from a theme because it runs before any themes are loaded.

You have two options:

  1. Enter your data into assets/coins.csv. This is not ideal because if there is an update to the multiadapter your csv file will be overwritten. But this can be a way to quickly move forward for now.
  2. The best course of action would be to take the code you have and wrap it into a plugin. This is very simple:
    1. Create a new PHP file
    2. Add some headers as shown here
    3. Paste your code beneath the headers
    4. Copy the PHP file into your wp-content/plugins directory
    5. Go to Plugins and activate your plugin.

Thank you for reporting this problem. I will update the online instructions today.

kind regards

Alex