PHP code example of xwp / wp-dev-lib

1. Go to this page and download the library: Download xwp/wp-dev-lib library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

xwp / wp-dev-lib example snippets

yml
php:
  - 5.3
  - 7.0

env:
  - WP_VERSION=latest WP_MULTISITE=0
  - WP_VERSION=latest WP_MULTISITE=1
  - WP_VERSION=trunk WP_MULTISITE=0
  - WP_VERSION=trunk WP_MULTISITE=1
yml
php:
  - 5.5

env:
  - WP_VERSION=4.0 WP_MULTISITE=0
bash
php /tmp/codecept.phar generate:cept acceptance Welcome