AddressProvider
11 months ago
Admin
11 months ago
BatchProcessing
1 year ago
ComingSoon
1 year ago
CostOfGoodsSold
1 year ago
DataStores
11 months ago
DependencyManagement
11 months ago
Email
1 year ago
EmailEditor
11 months ago
Features
11 months ago
Font
2 years ago
Integrations
1 year ago
Logging
1 year ago
Orders
1 year ago
ProductAttributesLookup
1 year ago
ProductDownloads
1 year ago
ProductFilters
1 year ago
ProductImage
1 year ago
ReceiptRendering
1 year ago
Settings
11 months ago
Traits
11 months ago
TransientFiles
1 year ago
Utilities
11 months ago
WCCom
2 years ago
AssignDefaultCategory.php
1 year ago
Brands.php
1 year ago
DownloadPermissionsAdjuster.php
3 years ago
McStats.php
1 year ago
OrderCouponDataMigrator.php
1 year ago
RegisterHooksInterface.php
1 year ago
RestApiControllerBase.php
11 months ago
RestApiParameterUtil.php
2 years ago
RestockRefundedItemsAdjuster.php
4 years ago
RegisterHooksInterface.php
24 lines
| 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 |