achttienvijftien / wp-extras
WordPress' missing functions
Installs: 17 752
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Requires
- php: ^8.0
- composer/installers: ^1.8
Requires (Dev)
README
This is a set of WordPress utilities and missing functions.
Prerequisites
Basic installation
- PHP >= 8.0
- Composer
Testing
Installation
- Require
achttienvijftien/wp-extras
must use plugin:composer require achttienvijftien/wp-extras
- Move
wp-extras.php
to your mu-plugin folder; - Good to go!
Testing
Setup
- Install Composer packages:
composer install
- Install the correct Node.js version:
nvm install
- Install NPM packages:
yarn
- Start wp-env
yarn wp-env start
- Check if test suite is ready:
yarn test
- When test result is OK you're ready to start writing tests in test/php