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!

Changing the texts in frontend UI forms

dashed-slug.net Forums General discussion Changing the texts in frontend UI forms

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

    How do I edit the form layout and content of the deposit and withdrawal forms ?
    I wish to assign new labels to the field lines in the fiat deposit and withdrawal forms. Please any help ?

    #12082
    alexg
    Keymaster

    Hello,

    All the text is passed through WordPress filters. You can add hooks into your theme or child theme and change the texts.

    For example, to change the text for the “Fiat Currency” label, you would do this:

    add_filter(
      'wallets_ui_text_fiat_currency',
      function( $text ) {
        return 'Your text here';
      }
    );

    Alternatively, if you want to make bigger changes to the UIs, you can copy the template files into your theme or child theme and edit them. But if you only want to change the texts, there is no need to do this, just use the provided filters.

    Both of these approaches are explained in the frontend documentation.

    Let me know if you have more questions on this.

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