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
1424 1425 1426 1427 1428 1429 1430 1431 1432 | 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.