Description
Theme a field of type 'currency'
Usage
bw_theme_field_currency( $key, $value );Parameters
- $key
- ( string ) required – the field name
- $value
- ( string ) required – the field value Note: money_format() does not work in Windows Note: This does not implement the currency prefix. It simply formats with 2 decimal places
Returns
voidSource
File name: oik-fields/includes/oik-fields.incLines:
1 to 3 of 3
function bw_theme_field_currency( $key, $value ) { e( sprintf( "%.2f", bw_array_get( $value, 0, $value ) ) ); }View on GitHub
Called by
Invoked by
Calls
1 to 1 of 1
