Created
November 24, 2025 06:28
-
-
Save aimahdi/bf4ee9b9a2b28d6f58a567dd4f7fc684 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?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