# fakerpress/0.8.0/src/functions/load.php

FakerPress, version 0.8.0. 15 lines.

- Page: https://pluginprobe.com/plugins/fakerpress/0.8.0/code/src/functions/load.php
- Raw: https://pluginprobe.com/plugins/fakerpress/0.8.0/raw/src/functions/load.php
- Modified: 2025-05-18T23:58:12+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/fakerpress/0.8.0/code/src/functions/load.php#L10-L20`.

```php
<?php
/**
 * Loads the whole FakerPress plugin.
 *
 * Please keep in mind that this is the only function that should be called from the main plugin file.
 * This function will load the plugin, all its dependencies, and it will boot the plugin.
 * Only function or class that is not namespaced.
 *
 * @since 0.6.0
 */
function fakerpress_load_plugin(): FakerPress\Plugin {
	require_once dirname( __FP_FILE__ ) . '/src/FakerPress/Plugin.php';
	return FakerPress\Plugin::boot();
}

```
