You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,8 @@
1
+
### v4.2.5 ( Jan 05, 2026 ) ###
2
+
-**fix:** Add translation support to store performance report labels.
3
+
-**fix:** Social profile URL's not accessible for staff users.
4
+
-**fix:** Prevented unauthorized changes to administrator accounts.
5
+
1
6
### v4.2.4 ( Dec 26, 2025 ) ###
2
7
-**new:** Added a Pending Vendors tab on the WordPress admin Users screen to view vendors awaiting approval.
3
8
-**new:** Added a bulk action on the WordPress admin Users screen to approve multiple pending vendors at once, including per-user validation and permission checks.
Copy file name to clipboardExpand all lines: docs/frontend/stores.md
+122-5Lines changed: 122 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -225,27 +225,145 @@ the global `dokan.{store-name}-store` when your code is bundled.
225
225
226
226
The `Dokan Core Store` is a `WordPress Data Store` that provides access to the core data of the `Dokan` plugin. This store is available in the `@dokan/stores/core` package.
227
227
228
+
## Available Selectors
229
+
230
+
The core store provides the following selectors:
231
+
232
+
-`getCurrentUser()` - Get the current user object
233
+
-`hasCap(capability)` - Check if the current user has a specific capability
234
+
-`isVendor()` - Check if the current user is a vendor
235
+
-`isVendorStaff()` - Check if the current user is a vendor staff
236
+
-`getStoreSettings()` - Get the store settings
237
+
-`getGlobalSettings()` - Get the global settings
238
+
-`getVendorId()` - Get the vendor ID for the current user
239
+
240
+
## Available Actions
241
+
242
+
-`setCurrentUser(user)` - Set the current user
243
+
-`setStoreSettings(settings)` - Set the store settings
244
+
-`setGlobalSettings(settings)` - Set the global settings
0 commit comments