bp_nouveau_blog_loop_item_has_lastest_post( $classes )
Filter bp_get_blog_class().
Description
Adds a class if blog item has a latest post.
Source
File: bp-templates/bp-nouveau/includes/blogs/functions.php
function bp_nouveau_blog_loop_item_has_lastest_post( $classes ) { if ( bp_get_blog_latest_post_title() ) { $classes[] = 'has-latest-post'; } return $classes; }
Changelog
Version | Description |
---|---|
BuddyPress 3.0.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.