File "RegisterHooksInterface.php"
Full path: /home/sbkuplnl/public_html/wp-content/plugins/woocommerce/src/Internal/DependencyManagement/RegisterHooksInterface.php
File
size: 0.49 KB (504 B bytes)
MIME-type: text/x-php; charset=us-ascii
Charset: utf-8
Download Open Edit Advanced Editor Back
<?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();
}