You appear to be a bot. Output may be restricted
Description
Format the title (format=T)The initial formatting is as coded in [bw_pages] ? 2013/06/08 Should the title be styled as h3 rather than strong?
Usage
bw_field_function_title( $post, $atts, $f );
Parameters
- $post
- ( mixed ) required –
- $atts
- ( mixed ) required –
- $f
- ( mixed ) required –
Returns
voidSource
File name: oik/includes/bw_formatter.phpLines:
1 to 14 of 14
function bw_field_function_title( $post, &$atts, $f ) { bw_push(); $atts['title'] = get_the_title( $post->ID ); bw_pop(); bw_trace2( $atts, "look for title", true, BW_TRACE_VERBOSE ); if ( empty( $atts['title'] ) ) { /* translators: %s: post ID */ $atts['title'] = sprintf( __( 'Post: %1$s', "oik" ) , $post->ID ); } span( "title" ); strong( $atts['title'] ); epan(); }View on GitHub View on Trac