Automattic\WooCommerce\Internal
RegisterHooksInterface{}
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();
No Hooks.
Usage
$RegisterHooksInterface = new RegisterHooksInterface(); // use class methods
Methods
- public register()
Changelog
| Since 8.5.0 | Introduced. |
RegisterHooksInterface{} RegisterHooksInterface{} code WC 10.7.0
interface RegisterHooksInterface {
/**
* Register this class instance to the appropriate hooks.
*
* @return void
*/
public function register();
}