File manager - Edit - /home/proidvn/me.proid.vn/wp-content/plugins/wp-all-export-pro/src/App/Field/PromotionId.php
Back
<?php namespace Wpae\App\Field; class PromotionId extends Field { const SECTION = 'advancedAttributes'; public function getValue($snippetData) { $advancedAttributes = $this->feed->getSectionFeedData(self::SECTION); if(!isset($advancedAttributes['promotionId'])) { return ''; } $promotionId = $advancedAttributes['promotionId']; $promotionId = $this->replaceSnippetsInValue($promotionId, $snippetData); return $this->replaceMappings($advancedAttributes['promotionIdMappings'], $promotionId); } public function getFieldName() { return 'promotion_id'; } }
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Generation time: 0.14 |
proxy
|
phpinfo
|
Settings