Skip to content

Dokan Settings Tab

The addon adds a Dokan tab to the Reign theme options page. It holds the feature toggles for the marketplace social features. Layout options live in the Customizer instead; see Customizer Options.

Open the Reign theme options page (added by the Reign theme), then select the Dokan tab. The tab has a single General section.

Saving the tab requires the manage_options capability.

All five settings are checkboxes. They are stored inside the shared reign_options option, under the dokan_option key. Each is saved with the value on when checked.

Setting Option key Default Effect
Allow Marking Products as Favorites mark_favorite On Shows the heart icon on products and the Favorite profile tab.
Display Store Tab hide_store_tab On Shows the Store tab on vendor profiles and the Store toolbar item.
Create Product Activity product_activity On Records activity when a product is published.
Add Review Activity review_activity On Records activity when a product review is approved.
Order Activity order_activity Off Records activity when an order is completed.

Every setting on this tab depends on BuddyPress or BuddyBoss. If neither is active, the settings are disabled and a notice explains that they require BuddyPress or BuddyBoss.

If BuddyVendor is active, the settings are also disabled, and a notice explains that BuddyVendor now manages those features. See Plugin Compatibility.

  • Display Store Tab is stored under the key hide_store_tab, but the tab shows when the box is checked. The key name does not match its effect.
  • The Order Activity toggle is the only one not enabled by the activation defaults, so it starts off on a new install.