Skip to content

Instantly share code, notes, and snippets.

@aimahdi
Created November 24, 2025 06:28
Show Gist options
  • Select an option

  • Save aimahdi/bf4ee9b9a2b28d6f58a567dd4f7fc684 to your computer and use it in GitHub Desktop.

Select an option

Save aimahdi/bf4ee9b9a2b28d6f58a567dd4f7fc684 to your computer and use it in GitHub Desktop.
<?php
add_filter('fluent_cart/orders_table_columns', function($columns){
$columns['title_1'] =[
'label' => 'The Custom',
'accessor' => 'iam_custom',
'render_template' => true,
'template' => '<div class="flex gap-2">
{{data.order?.invoice_no || "--"}}
</div>'
];
return $columns;
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment