1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<?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(); }
|