I want to add some custom content to the default metabox for a custom taxonomy. Ideally I’d be able to insert this content above the tag cloud where it says Choose from the most used [tag]s.
Is there a “best practice”-compliant way to do this in WordPress? For example, is there a way to do this without removing and re-adding a clone of the taxonomy metabox, which is the method I’ve seen recommended for similar situations on WPSE and elsewhere? That seems like a bit of a blunt approach in this case.
I know I can insert the content with javascript, or use a separate metabox, but I’m wondering if there’s a hook for this sort of task.
From core:
As you can see, there is no hook. So the only options are JavaScript or a clone of the metabox.
Third option: Open a Trac ticket and ask for a new hook.
You could also use output buffering, but I donât recommend that, especially on that page.