wpseek.com
A WordPress-centric search engine for devs and theme authors
_local_storage_notice is private and should not be used in themes or plugins directly.
_local_storage_notice › WordPress Function
Since3.6.0
Deprecatedn/a
› _local_storage_notice ( No parameters )
Access: |
|
Defined at: |
|
Codex: |
Output the HTML for restoring the post data from DOM storage
Source
function _local_storage_notice() { ?> <div id="local-storage-notice" class="hidden notice is-dismissible"> <p class="local-restore"> <?php _e( 'The backup of this post in your browser is different from the version below.' ); ?> <button type="button" class="button restore-backup"><?php _e( 'Restore the backup' ); ?></button> </p> <p class="help"> <?php _e( 'This will replace the current editor content with the last backup version. You can use undo and redo in the editor to get the old content back or to return to the restored version.' ); ?> </p> </div> <?php }