# wordpress-seo/trunk/src/helpers/require-file-helper.php

Yoast SEO – Advanced SEO with real-time guidance and built-in AI, version trunk. 21 lines.

- Page: https://pluginprobe.com/plugins/wordpress-seo/trunk/code/src/helpers/require-file-helper.php
- Raw: https://pluginprobe.com/plugins/wordpress-seo/trunk/raw/src/helpers/require-file-helper.php
- Modified: 2025-04-07T09:46:06+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/wordpress-seo/trunk/code/src/helpers/require-file-helper.php#L10-L20`.

```php
<?php

namespace Yoast\WP\SEO\Helpers;

/**
 * Represents a file helper.
 */
class Require_File_Helper {

	/**
	 * Activates the plugin based on the given plugin file.
	 *
	 * @param string $path The path to the required file.
	 *
	 * @return void
	 */
	public function require_file_once( $path ) {
		require_once $path;
	}
}

```
