# woocommerce/11.1.0-rc.2/src/Internal/RegisterHooksInterface.php

WooCommerce, version 11.1.0-rc.2. 24 lines.

- Page: https://pluginprobe.com/plugins/woocommerce/11.1.0-rc.2/code/src/Internal/RegisterHooksInterface.php
- Raw: https://pluginprobe.com/plugins/woocommerce/11.1.0-rc.2/raw/src/Internal/RegisterHooksInterface.php
- Modified: 2024-11-27T22:41:18+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/woocommerce/11.1.0-rc.2/code/src/Internal/RegisterHooksInterface.php#L10-L20`.

```php
<?php
declare( strict_types=1 );

namespace Automattic\WooCommerce\Internal;

/**
 * Interface RegisterHooksInterface
 *
 * The following must be added at the end of the 'init_hooks' method in the 'WooCommerce' class
 * for each class implementing this interface:
 * $container->get( <full class name>::class )->register();
 *
 * @since 8.5.0
 */
interface RegisterHooksInterface {

	/**
	 * Register this class instance to the appropriate hooks.
	 *
	 * @return void
	 */
	public function register();
}

```
