bp_blogs_fetch_latest_post_thumbnails
bp_blogs_fetch_latest_post_thumbnails
Appears in: buddypress.11.0.0, buddypress.11.1.0
Hook Type: filter
Displaying hooks found in version: buddypress.11.1.0apply_filters('bp_blogs_fetch_latest_post_thumbnails') is found 1 times:
- /bp-blogs/classes/class-bp-blogs-blog.php line 638
* * @param bool $fetch_featured_images Defaults to true. * @param int $blog_id ID of the current blog whose extras are being generated. */ if ( apply_filters( 'bp_blogs_fetch_latest_post_thumbnails', true, $paged_blogs[ $i ]->blog_id ) ) { $images = array(); switch_to_blog( $paged_blogs[ $i ]->blog_id ); // Add URLs to any Featured Image this post might have. if ( ! empty( $paged_blogs[$i]->latest_post ) && has_post_thumbnail( $paged_blogs[$i]->latest_post->ID ) ) {