Answer the question
In order to leave comments, you need to log in
How to display tooltips?
Can you please tell me how to display such notifications in WordPress?
Why do I need it?
Added custom fields to the profile. It is necessary that if the field is not filled in by the user, a tooltip is displayed with a suggestion to fill it out. I googled but didn't find anything, it just doesn't show up.
You can just link to the wordpress docks, you can have the finished code :)
Here is my code:
function my_user_contactmethods($user_contactmethods){
$user_contactmethods['wmr'] = '<a name="wmr"></a> WMR кошелек';
return $user_contactmethods;
}
Answer the question
In order to leave comments, you need to log in
It's called admin notices :
https://codex.wordpress.org/Plugin_API/Action_Refe...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question