H
H
HAbRAhabp2015-09-19 21:29:50
WordPress
HAbRAhabp, 2015-09-19 21:29:50

How to display tooltips?

Can you please tell me how to display such notifications in WordPress?
r8QEdwI.pngWhy 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

1 answer(s)
I
Igor Vorotnev, 2015-09-19
@HeadOnFire

It's called admin notices :
https://codex.wordpress.org/Plugin_API/Action_Refe...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question