Skip to content
Developer tools for Dokan plugin
PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
includes
.editorconfig
.gitignore
README.md
composer.json
composer.lock
dokan-dev-tools.php

README.md

Dokan Dev Tools

Developer tools for Dokan plugin

Dependency

This plugin requires wc-smooth-generator plugin to be activated to generate products.

Installation

  • Clone the repository inside /wp-content/plugins/
  • cd into folder cd dokan-dev-tools and run composer install

Available CLI Commands

Vendors

Generate Dokan Vendors

wp dokan vendor generate --count=<no_of_vendors>

Delete all vendors

wp dokan vendor delete

Products

Generate products and randomly distributes to Dokan Vendors

wp dokan product generate --count=<no_of_vendors>

Delete all products

wp dokan product delete

Modules

Activate a Dokan module

wp dokan module activate <module_name>

Dectivate a Dokan module

wp dokan module deactivate <module_name>

Toggles a module's activation state

wp dokan module toggle <module_name>

Gets a list of Dokan modules

wp dokan module list

Show available commands

wp dokan cli commands 
You can’t perform that action at this time.