achttienvijftien / wp-extras
WordPress' missing functions
Installs: 77 173
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 0
Open Issues: 0
pkg:composer/achttienvijftien/wp-extras
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-extrasmust use plugin:composer require achttienvijftien/wp-extras
- Move
wp-extras.phpto 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