You appear to be a bot. Output may be restricted
Description
Returns 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 7 of 7
function bw_fields_get_thumbnail( $thumbnail_id ) { $thumbnail = wp_get_attachment_image_src( $thumbnail_id, "thumbnail" ) ; if ( $thumbnail ) { $thumbnail = retimage( "thumbnail", $thumbnail[0] ); } return $thumbnail; }View on GitHub
