The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
About the default d...
 
Share:
Notifications
Clear all

[Solved] About the default display of nicknames

3 Posts
2 Users
0 Likes
848 Views
Posts: 7
Topic starter
(@sostenuto0606work1)
Active Member
Joined: 2 years ago

Hello

 

Is there a hook that sets some value by default in the nickname part of the image below?

 

https://gyazo.com/2292f36f8c9e0176445e865c8607a64f

2 Replies
Asti
Posts: 7105
 Asti
Support
(@asti)
Illustrious Member
Joined: 6 years ago

@sostenuto0606work1,

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

Posts: 7
Topic starter
(@sostenuto0606work1)
Active Member
Joined: 2 years ago

solved.

thank you.

Share: