• Resolved deerg

    (@deerg)


    Hello,

    Is there a way to show the address of the connected wallet on the button itself after linking the wallet?

    Best regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author ethereumicoio

    (@ethereumicoio)

    Unfortunately no.
    The [ethpress_account] short code can be used to display the current user’s address logged with.

    Thread Starter deerg

    (@deerg)

    I see. And is there a way to autorefresh the page after linking the wallet to the website?

    Plugin Author ethereumicoio

    (@ethereumicoio)

    Good catch! I’ll add it to my roadmap.

    Plugin Author ethereumicoio

    (@ethereumicoio)

    You can use this hook as a workaround for now:

    /**
     * Fires after every user account linking success.
     *
     * @since 1.5.0
     *
     * @param WP_User|WP_Error $user WP_User on success, WP_Error on failure.
     * @param (string|false) $provider One of 'metamask', 'walletconnect', false.
     */
    do_action( 'ethpress_linked', $user, $provider );
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Show the address on button’ is closed to new replies.