bp_activity_has_content()
Does the activity have content?
Description Description
Return Return
(bool) True if activity has content, false otherwise.
Source 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 Changelog
| Version | Description |
|---|---|
| 1.2.0 | Introduced. |