Sid Gifari File Manager
🏠 Root
/
home2
/
meumer25
/
www
/
wp-content
/
plugins
/
ultimate-addons-for-gutenberg
/
blocks-config
/
uagb-controls
/
Editing: getUAGEditorStateLocalStorage.js
const getUAGEditorStateLocalStorage = ( key = false ) => { if ( ! window.localStorage ) { return null; } if ( ! key ) { return localStorage; } const uagLastOpenedSettingState = localStorage.getItem( key ); if ( uagLastOpenedSettingState ) { return JSON.parse( uagLastOpenedSettingState ); } return null; }; export default getUAGEditorStateLocalStorage;
Save
Cancel