PHP Classes

File: vendor/wp-cli/wp-cli/tests/bootstrap.php

Recommend this page to a friend!
  Classes of Adeleye Ayodeji   Nolimitbuzz WP Theme   vendor/wp-cli/wp-cli/tests/bootstrap.php   Download  
File: vendor/wp-cli/wp-cli/tests/bootstrap.php
Role: Auxiliary script
Content type: text/plain
Description: Configuration script
Class: Nolimitbuzz WP Theme
WordPress theme to used as start of new themes
Author: By
Last change:
Date: 27 days ago
Size: 567 bytes
 

Contents

Class file image Download
<?php

if ( ! defined( 'WP_CLI_ROOT' ) ) {
   
define( 'WP_CLI_ROOT', dirname( __DIR__ ) );
}

if (
file_exists( WP_CLI_ROOT . '/vendor/autoload.php' ) ) {
   
define( 'WP_CLI_VENDOR_DIR', WP_CLI_ROOT . '/vendor' );
} elseif (
file_exists( dirname( dirname( WP_CLI_ROOT ) ) . '/autoload.php' ) ) {
   
define( 'WP_CLI_VENDOR_DIR', dirname( dirname( WP_CLI_ROOT ) ) );
}

require_once
WP_CLI_VENDOR_DIR . '/autoload.php';
require_once
WP_CLI_ROOT . '/php/utils.php';
require_once
WP_CLI_ROOT . '/bundle/rmccue/requests/src/Autoload.php';

\
WpOrg\Requests\Autoload::register();