File: /hosting/kak.bg/web/wp-content/plugins/wp-all-export-pro/src/App/Field/ShippingLabel.php
<?php
namespace Wpae\App\Field;
class ShippingLabel extends Field
{
const SECTION = 'shipping';
public function getValue($snippetData)
{
$shippingData = $this->feed->getSectionFeedData(self::SECTION);
if(isset($shippingData['shippingLabel'])) {
return $this->replaceSnippetsInValue($shippingData['shippingLabel'], $snippetData);
} else {
return '';
}
}
public function getFieldName()
{
return 'shipping_label';
}
}