How-to and Troubleshooting
3
Posts
2
Users
0
Reactions
1,144
Views
Feb 24, 2022 7:32 am
Hello
Is there a hook that sets some value by default in the nickname part of the image below?
2 Replies
Feb 24, 2022 9:18 am
You can use the JS code below
jQuery( document ).ready(function() {
jQuery("input[id^=wc_name]").val('Default Value');
});
The red marked value should be changed as you like.
This article should be helpful for you: https://webdesign.tutsplus.com/tutorials/how-to-add-custom-javascript-to-your-wordpress-site--cms-34368
Feb 28, 2022 9:28 am
solved.
thank you.