Description
Outputs a paragraph of translated text
Usage
BW_::p( $text, $class, $id );Parameters
- $text
- ( string ) optional – translated text – expected to be non-null
- $class
- ( string ) optional – CSS class(es)
- $id
- ( string ) optional – CSS ID
Returns
voidSource
File name: oik-bwtrace/libs/class-BW-.phpLines:
1 to 7 of 7
static function p( $text=null, $class=null, $id=null ) { sp( $class, $id ); if ( !is_null( $text ) ) { e( $text ); } etag( "p" ); }View on GitHub View on Trac
Called by
1 to 15 of 44
- bw_background() – Implement [bw_background] shortcode
- bw_contact_form__snippet() – Implement snippet hook for [bw_contact_form]
- bw_countdown__snippet() – Snippet for [bw_countdown] shortcode
- bw_format_attachment() – Format the "attachment" – basic first version
- bw_format_table() – Format the data in a table
- bw_geshi__example() – Implement example hook for the bw_geshi shortcode
- bw_invoke_shortcode() – Calls a shortcode for a simple example
- bw_jq__example() –
- bw_show_googlemap__example() – Example for [bw_show_googlemap] shortcode
- bw_table__example() – Example hook for [bw_table] shortcode
- bw_table__snippet() – Snippet hook for [bw_table] shortcode
- bw_thankyou_message() – Display a "thank you" message
- bw_wtf() – Implement the [bw_wtf] shortcode
- oik_action_options() – Display the action options form
- oik_callback() – Dummy callback function
Invoked by
Calls
1 to 3 of 3
