24 lines
452 B
PHP
24 lines
452 B
PHP
<?php
|
|
|
|
namespace WPO\IPS\UBL\Handlers\Common;
|
|
|
|
use WPO\IPS\UBL\Handlers\UblHandler;
|
|
|
|
if ( ! defined( 'ABSPATH' ) ) {
|
|
exit; // Exit if accessed directly
|
|
}
|
|
|
|
class DeliveryHandler extends UblHandler {
|
|
|
|
public function handle( $data, $options = array() ) {
|
|
$delivery = array(
|
|
'name' => 'cac:Delivery',
|
|
'value' => array(),
|
|
);
|
|
|
|
$data[] = apply_filters( 'wpo_wc_ubl_handle_Delivery', $delivery, $data, $options, $this );
|
|
|
|
return $data;
|
|
}
|
|
|
|
}
|