Description
Output some translated textFunction e() replaces the original t() function used in Bobbing Wide custom code since for Drupal t() is already defined for translatable text.
Function bwt() does a similar job but also performs some strange filtering if required.
When you want to output text that is translatable use:
- `bwt( $text );`
- `e( $text );`
- `e( __( "translatable text", "plugn-text-domain" ) );`
Usage
bwt( $text );Parameters
- $text
- ( mixed ) optional –
Returns
voidSource
File name: oik-bwtrace/libs/bobbfunc.phpLines:
1 to 9 of 9
function bwt( $text=NULL ) { global $bbboing; if ( !is_null( $text )) { if ( $bbboing ) bw_echo( $bbboing( $text )); else bw_echo( bw_translate( $text ) ) ; } }View on GitHub View on Trac
Invoked by
Call hooks
API Letters:
