You appear to be a bot. Output may be restricted
Description
Return the thumbnail for the featured image
Usage
$thumbnail = bw_fields_get_thumbnail( $thumbnail_id );
Parameters
- $thumbnail_id
- ( ID ) required – the ID of the post's thumbnail image
Returns
thumbnail sized featured imageSource
File name: oik-fields/includes/oik-fields-virtual.phpLines:
1 to 8 of 8
function bw_fields_get_thumbnail( $thumbnail_id ) { $thumbnail = wp_get_attachment_image_src( $thumbnail_id, "thumbnail" ) ; if ( $thumbnail ) { $thumbnail = retimage( "thumbnail", $thumbnail[0] ); } bw_trace2( $thumbnail ); return( $thumbnail); }View on GitHub