Action Scheduler Admin
Action Scheduler screen for the WooCommerce Admin interface
by Automattic · github.com/woocommerce/action-scheduler-admin · website
★ 13stars
4forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/woocommerce/action-scheduler-admin/archive/refs/heads/master.zipAction Scheduler screen for the WooCommerce Admin interface
Prerequisites
- PHP 5.6 or greater
- WordPress 5.0 or greater
- WooCommerce 3.5.0 or greater
- WooCommerce Admin 0.11.0 or greater
Development
After cloning the repo, install dependencies with npm install. Now you can build the files using one of these commands:
npm run clean: Clean the/dist/folder where the React app livesnpm run build: Build a production versionnpm run start: Build a development version, watch files for changesnpm run prebuild: Check for outdated dependencies and update those found
There are also some helper scripts:
npm run lint:js: Run eslint over the javascript filesnpm run lint: Run eslint over the javascript AND phpcs over the PHP filesnpm run i18n: A multi-step process, used to create a pot file from both the JS and PHP gettext calls. First it runsi18n:js, which creates a temporary.potfile from the JS files. Next it runsi18n:php, which converts that.potfile to a PHP file. Lastly, it runsi18n:pot, which creates the final.potfile from all the PHP files in the plugin (including the generated one with the JS strings).