Skip to content

Instantly share code, notes, and snippets.

@reachkamrul
Created February 3, 2022 12:06
Show Gist options
  • Save reachkamrul/7c88cd4c8f9de417996ce8e649f8304f to your computer and use it in GitHub Desktop.
Save reachkamrul/7c88cd4c8f9de417996ce8e649f8304f to your computer and use it in GitHub Desktop.
add_filter('fluentform_payment_receipt_pre_render_payment_info', function ($html, $entry) {
$orderItem = \FluentFormPro\Payments\Orders\OrderData::getOrderItems($this->entry);
$formId = $entry->form_id;
// replace $html with your own HTML and return
return $html;
}, 10, 2);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment