bp_nouveau_blog_loop_item_has_lastest_post( $classes )

Filter bp_get_blog_class().


Description Description

Adds a class if blog item has a latest post.


Source 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;
}


Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.