[wp-trac] [WordPress Trac] #49166: need a function to know if a dashicon exists.

WordPress Trac noreply at wordpress.org
Sun Apr 26 10:17:33 UTC 2020


#49166: need a function to know if a dashicon exists.
-------------------------------+-------------------------------------------
 Reporter:  sebastienserre     |       Owner:  (none)
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Administration     |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  2nd-opinion has-   |     Focuses:  ui, administration, template
  patch                        |
-------------------------------+-------------------------------------------

Comment (by casiepa):

 Hi @sebastienserre about 70 new dashicons might appear in WP5.5
 Your function is a very nice idea, but you cannot create your own array as
 it is depending on the WP version that is running.
 Please note https://make.wordpress.org/design/2020/04/20/next-steps-for-
 dashicons/ that dashicons is going out of life, but it will of course
 still be around for a while. Let's maybe have a chat together?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49166#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list