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!

Add two coins to full-node-multi-coin-adapter-extension

dashed-slug.net Forums General discussion Add two coins to full-node-multi-coin-adapter-extension

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #6961
    Anonymous
    Inactive

    Solved!

    #6963
    alexg
    Keymaster

    Hello,

    Glad you found the solution.

    For the benefit of others reading this:

    The simplest solution would be to name your functions using unique names, for example:

    function wallets_multiadapter_coins_filter_coin1( $coins ) {
        $coins['COIN1'] = array(
        
        ...etc...
    }
    
    add_filter( 'wallets_multiadapter_coins', 'wallets_multiadapter_coins_filter_coin1' );

    …and…

    function wallets_multiadapter_coins_filter_coin2( $coins ) {
        $coins['COIN2'] = array(
    
        ...etc...
    }
    add_filter( 'wallets_multiadapter_coins', 'wallets_multiadapter_coins_filter_coin2' );

    with regards

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.