You appear to be a bot. Output may be restricted
Description
Output some translated text
Function 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 );`
When you want to output text that is NOT translatable use:
- `e( $text );`
Within functions where the $text parameter is translatable use:
- `e( __( "translatable text", "plugn-text-domain" ) );`
Note: This function will be deprecated.
Usage
bwt( $text );
Parameters
- $text
- ( mixed ) optional –
Returns
void
Source
File name: oik-bwtrace/libs/bobbfunc.php
Lines:
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 ) ) ; } }