This code will allow you to create a button, and toggle the phone number with the click. Aside from the script below, be sure to add the class “phone-number” without quotes to your widget that has the class assigned to it. Action list widget does not allow a per action class yet so it will not work with an action widget with more than one action.
If this snippet helped, feel free to buy me a taco :)