• HOME
  • KNOWLEDGE BASE
  • FAQ
  • CONTACT US
  • HOME
  • KNOWLEDGE BASE
  • FAQ
  • CONTACT US
home/Knowledge Base/How To/How to let User Edit their Account Phone Number

How to let User Edit their Account Phone Number

We have full compatibility with WooCommerce which means that if you are running or having WooCommerce installed on your website then our plugin will automatically add our Mobile Phone Number field in your Edit Account/User Account section of WooCommerce in frontend.

But not all people use WooCommerce but they’ll still need an option to show users their mobile number or let them update their number from the frontend. For those website owners, we’ve created a shortcode that will render user’s Mobile Phone Number field in frontend.

[df-edit-phone]

Simply copy-paste the above shortcode in your WordPress Page or Post, wherever you want and this will render a field showing the user their mobile number with an option to edit it.

Using WordPress do_shortcode function

If you want to add the shortcode in your theme page template or some page template being rendered from some of your third party plugin then in that case you can use the WordPress do_shortcode function.

<?php echo do_shortcode( ‘[df-edit-phone]’ ); ?>

This can be added in your theme’s or plugin’s php files as per your requirement.

Was this helpful?

4 Yes  5 No
How To
  • How to let User Edit their Account Phone Number
  • How to place Digits form on any page
  • Plugin text translation
  • How to change the link of an existing button to Digits Modal or Page
  • How To Trigger Modal From A Custom Button
  • How to use Digits with Ultimate Membership Pro Forms
View All 9  
Categories
  • Addons
  • Common Errors
  • Gateway Setup
  • Getting Started
  • How To
  • Page/Popup Builder

  How To Link Digits Custom Login Page or Modal

How To Enable Create Customer On Order  

    • Made with ❤ by Humans on 🌎