achttienvijftien/wp-extras

WordPress' missing functions

1.1.0 2024-02-14 12:24 UTC

This package is auto-updated.

Last update: 2024-04-14 12:58:01 UTC


README

This is a set of WordPress utilities and missing functions.

Prerequisites

Basic installation

Testing

Installation

  1. Require achttienvijftien/wp-extras must use plugin:
    composer require achttienvijftien/wp-extras
  2. Move wp-extras.php to your mu-plugin folder;
  3. Good to go!

Testing

Setup

  1. Install Composer packages: composer install
  2. Install the correct Node.js version: nvm install
  3. Install NPM packages: yarn
  4. Start wp-env yarn wp-env start
  5. Check if test suite is ready: yarn test
  6. When test result is OK you're ready to start writing tests in test/php