You appear to be a bot. Output may be restricted
Description
Format the label for a field
Usage
$bool = bw_format_label( $customfield );
Parameters
- $customfield
- ( array ) required – a simple array of $key => $value
Returns
bool true if the label was requiredTO DO
Decide if this should really be e.g. <label for="_oikp_type">Plugin type</label> rather than <span>Source
File name: oik/libs/bw_fields.phpLines:
1 to 12 of 12
function bw_format_label( $customfield ) { //bw_trace2(); foreach ( $customfield as $key => $value ) { $label = bw_query_field_label( $key ); if ( $label ) { span( "label $key" ); e( $label ); epan( $key ); } } return( $label ); }View on GitHub View on Trac