Description
Display a list heading for the data shown
Usage
bw_otd_list_heading( $atts, $period, $date );Parameters
- $atts
- ( array ) required – shortcode parameters
- $period
- ( string ) required – the chosen period – which may be a month
- $date
- ( string ) required – the actual date being used – including day
Returns
voidSource
File name: oik-dates/shortcodes/oik-otd.phpLines:
1 to 10 of 10
function bw_otd_list_heading( $atts, $period, $date ) { if ( isset( $atts['day'] ) ) { $heading = bw_format_date( $date, "j F Y" ); } else { $heading = bw_format_date( $date, "F Y" ); } $heading .= " "; $heading .= $period; li( $heading ); }
Invoked by
Calls
1 to 2 of 2
Call hooks
API Letters:
