'[coupon-code]'); public $display_name = 'Coupon code'; public function getValue($post, $field) { $field['value'] = 'post_title'; return $this->getStandardPostField($post, $field); } }