Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
wp-content
/
plugins
/
better-wp-security
/
core
/
modules
/
user-groups
/
entries
/
ui
/
store
:
index.js
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
/** * WordPress dependencies */ import { register, createReduxStore } from '@wordpress/data'; /** * Internal dependencies */ import controls from './controls'; import * as actions from './actions'; import * as selectors from './selectors'; import * as resolvers from './resolvers'; import userGroupsEditor from './reducers'; import { STORE_NAME } from './constant'; const store = createReduxStore( STORE_NAME, { controls, actions, selectors, resolvers, reducer: userGroupsEditor, persist: [ 'edits', 'settingEdits', 'bulkSettingEdits', 'localGroupIds', 'markedForDelete', ], } ); register( store ); export default store;