You appear to be a bot. Output may be restricted
Description
Formats the 'thumbnail' image (format=I).Applies the thumbnail= parameter to determine the size of the image. For a11y it now sets the alt attribute on the image from the post's title.
Usage
bw_field_function_image( $post, $atts, $f );Parameters
- $post
- ( mixed ) required –
- $atts
- ( mixed ) required –
- $f
- ( mixed ) required –
Returns
voidSource
File name: oik/includes/bw_formatter.phpLines:
1 to 7 of 7
function bw_field_function_image( $post, &$atts, $f ) { $atts['title'] = get_the_title( $post->ID ); $thumbnail = bw_thumbnail( $post->ID, $atts ); if ( $thumbnail ) { bw_format_thumbnail( $thumbnail, $post, $atts ); } }View on GitHub View on Trac
