我想使用javascript在wordpress页面的顶部添加一个通知,就像自动保存页面时一样。但在查看DOM时,我没有发现任何可以添加通知的特殊div:
THIS IS THE DIV WHERE WORDPRESS\'s NOTICES ARE
<div class="wrap">
<h2>Edit Page <a href="http://my-site.com/wp-admin/post-new.php?post_type=page" class="add-new-h2">Add New</a></h2>
<div style="display: block;" id="local-storage-notice" class="hidden updated">
<p class="local-restore">
The backup of this post in your browser is different from the version below. <a class="restore-backup" href="#">Restore the backup.</a>
</p>
<p class="undo-restore hidden">
Post restored successfully. <a class="undo-restore-backup" href="#">Undo.</a>
</p>
</div>
wordpress是否有javascript函数可供我使用?