# extendify/3.0.4/tests/bootstrap.php

Extendify, version 3.0.4. 14 lines.

- Page: https://pluginprobe.com/plugins/extendify/3.0.4/code/tests/bootstrap.php
- Raw: https://pluginprobe.com/plugins/extendify/3.0.4/raw/tests/bootstrap.php
- Modified: 2026-03-24T14:55:54+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/extendify/3.0.4/code/tests/bootstrap.php#L10-L20`.

```php
<?php

require_once dirname(__DIR__) . '/vendor/autoload.php';

$_tests_dir = getenv('WP_TESTS_DIR') ?: getenv('WP_PHPUNIT__DIR');

require_once $_tests_dir . '/includes/functions.php';

tests_add_filter('muplugins_loaded', function () {
    require_once dirname(__DIR__) . '/vendor/autoload.php';
});

require $_tests_dir . '/includes/bootstrap.php';

```
