bp_get_activities_no_activity()
Get text when there is no activity
Description
Return
(string)
Source
File: bp-activity/bp-activity-template.php
function bp_get_activities_no_activity() {
global $bp_activity_no_activity;
/**
* Filters the text used when there is no activity to display.
*
* @since BuddyPress 1.0.0
*
* @param string $bp_activity_no_activity Text to display for no activity.
*/
return apply_filters( 'bp_get_activities_no_activity', $bp_activity_no_activity );
}
Changelog
| Version | Description |
|---|---|
| BuddyPress 1.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.