bp_blog_latest_post_featured_image( string $size = 'thumbnail' )
Output the featured image of the latest post on the current blog in the loop.
Description
See also
- bp_get_blog_latest_post_content(): For description of parameters.
Parameters
- $size
-
(Optional) See bp_get_blog_latest_post_featured_image().
Default value: 'thumbnail'
Source
File: bp-blogs/bp-blogs-template.php
function bp_blog_latest_post_featured_image( $size = 'thumbnail' ) { echo bp_get_blog_latest_post_featured_image( $size ); }
Changelog
Version | Description |
---|---|
BuddyPress 1.7.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.