bp_activity_has_content()
Does the activity have content?
Description
Return
(bool) True if activity has content, false otherwise.
Source
File: bp-activity/bp-activity-template.php
function bp_activity_has_content() { global $activities_template; if ( ! empty( $activities_template->activity->content ) ) { return true; } return false; }
Changelog
Version | Description |
---|---|
BuddyPress 1.2.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.