software:eventsmanager
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| software:eventsmanager [2013/06/16 18:43] – superwizard | software:eventsmanager [2013/06/16 18:52] (current) – superwizard | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| echo $results[' | echo $results[' | ||
| } | } | ||
| + | | ||
| + | | ||
| + | From: http:// | ||
| + | |||
| + | total transaction amount by adding a new exportable column. | ||
| + | |||
| + | /** | ||
| + | * Adds columns in the bookings tables | ||
| + | * @param array $template | ||
| + | * @param EM_Bookings_Table $EM_Bookings_Table | ||
| + | * @return string | ||
| + | */ | ||
| + | function my_em_bookings_table_cols_template($template, | ||
| + | $template[' | ||
| + | return $template; | ||
| + | } | ||
| + | add_action(' | ||
| + | |||
| + | /** | ||
| + | * @param string $val | ||
| + | * @param string $col | ||
| + | * @param EM_Booking $EM_Booking | ||
| + | */ | ||
| + | function my_em_custom_booking_form_cols_txn_price($val, | ||
| + | global $wpdb; | ||
| + | $var = $wpdb-> | ||
| + | return em_get_currency_formatted($var); | ||
| + | } | ||
| + | add_filter(' | ||
software/eventsmanager.1371408198.txt.gz · Last modified: by superwizard
