| 1 |
<?php |
| 2 |
/** |
| 3 |
* Backward-compatibility shim for Rest_API\Shipping\Item_Info. |
| 4 |
* |
| 5 |
* The implementation has moved to Rest_API\Legacy\Shipping\Item_Info. |
| 6 |
* This file registers a class alias so all existing callers that reference |
| 7 |
* PostNLWooCommerce\Rest_API\Shipping\Item_Info continue to work unchanged. |
| 8 |
* |
| 9 |
* @package PostNLWooCommerce\Rest_API\Shipping |
| 10 |
*/ |
| 11 |
|
| 12 |
if ( ! defined( 'ABSPATH' ) ) { |
| 13 |
exit; |
| 14 |
} |
| 15 |
|
| 16 |
class_alias( |
| 17 |
'PostNLWooCommerce\\Rest_API\\Legacy\\Shipping\\Item_Info', |
| 18 |
'PostNLWooCommerce\\Rest_API\\Shipping\\Item_Info' |
| 19 |
); |
| 20 |
|