PluginProbe
WooCommerce / 11.1.0-rc.2
WooCommerce v11.1.0-rc.2
11.1.0 11.1.0-rc.2 11.1.0-rc.1 11.1.0-beta.2 11.1.0-beta.1 11.0.1 11.0.0 11.0.0-rc.3 11.0.0-rc.2 11.0.0-rc.1 11.0.0-beta.2 11.0.0-beta.1 10.9.4 10.9.3 10.9.2 10.9.1 10.9.0 10.9.0-rc.1 10.9.0-beta.2 10.9.0-beta.1 10.8.1 10.8.0 10.8.0-rc.1 10.8.0-beta.2 10.8.0-beta.1 All 648 releases
woocommerce / src / Internal / RegisterHooksInterface.php
RegisterHooksInterface.php
24 lines 504 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 declare( strict_types=1 );
3
4 namespace Automattic\WooCommerce\Internal;
5
6 /**
7 * Interface RegisterHooksInterface
8 *
9 * The following must be added at the end of the 'init_hooks' method in the 'WooCommerce' class
10 * for each class implementing this interface:
11 * $container->get( <full class name>::class )->register();
12 *
13 * @since 8.5.0
14 */
15 interface RegisterHooksInterface {
16
17 /**
18 * Register this class instance to the appropriate hooks.
19 *
20 * @return void
21 */
22 public function register();
23 }
24