public function get_value_entry_detail($value, $currency = '', $use_text = false, $format = 'html', $media = 'screen') { $assignee = parent::get_value_entry_detail($value, $currency, $use_text, $format, $media); $value = $this->get_display_name($assignee); return $value; }
/** * Add button. * * @see https://github.com/wp-premium/gravityforms/blob/1.9.19/form_detail.php#L2353-L2368 * @see https://github.com/wp-premium/gravityforms/blob/1.9.19/includes/fields/class-gf-field.php#L617-L652 * @return array */ public function add_button($field_groups) { // We have to make sure the custom pay field group is added, otherwise the button won't be added. $field_groups = Pronamic_WP_Pay_Extensions_GravityForms_Fields::add_pay_field_group($field_groups); return parent::add_button($field_groups); }