How can I have some taxonomies to always have “the most used tags” displayed when a new post is being created.
Thanks.
How can I have some taxonomies to always have “the most used tags” displayed when a new post is being created.
Thanks.
You must be logged in to post a comment.
There does not appear to be any way to hook into that from inside PHP
http://core.trac.wordpress.org/browser/tags/3.3.1/wp-admin/includes/meta-boxes.php#L300
So JavaScript will probably best suit as a quick and easy solution.
You should probably
wp_enqueue_script
this script instead (always set position to “footer”). And also hook to theedit.php
pages if necessary. Moreover,$expanded_for
should probably be escaped.