I've been searching around for a way to add a message to the tag metabox before the input data-wp-taxonomy. When searching under the tags tags and metabox but I was only able to populate fourteen results.
When I research the core for data-wp-taxonomy
I found the meta-boxes.php file and the function for post_tags_meta_box
which led me to How to Add Reminders/Notes to New Post Meta Boxes but that question is over five years old and ties into it with jQuery:
function load_my_alerts(){
wp_register_script(
'my_alerts',
get_template_directory_uri() . '/js/alerts.js',
array( 'jquery' )
);
wp_enqueue_script( 'my_alerts' );
}
add_action('admin_enqueue_scripts', 'load_my_alerts');
Is there another way to add a message before the input on the tag metabox?