0

I am building a plugin which registers a few custom taxonomies.

Is there a way to add a class to the taxonomy edit-tags submenu links either at the time of registration (wp_register_taxonomy) or using any other filter?

enter image description here

Like in the above screenshot, I would like to add a class to the following HTML so that it becomes either:

<li class="item-wpccb-location"><a href="edit-tags.php?taxonomy=wpccb-location">Location</a></li>

or,

<li><a class="item-wpccb-location" href="edit-tags.php?taxonomy=wpccb-location">Location</a></li>

PS: I looked into https://stackoverflow.com/a/43564606/1496518, but honestly didn't understand much of it.

Subrata Sarkar
  • 2,869
  • 4
  • 40
  • 76

0 Answers0