Uses
Uses | Description |
---|---|
wp-includes/l10n.php: _e() | Display translated text. |
This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
Output the HTML for restoring the post data from DOM storage
File: wp-admin/includes/template.php
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 }
Version | Description |
---|---|
3.6.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/_local_storage_notice