bp_activity_has_content()

Does the activity have content?


Description Description


Return Return

(bool) True if activity has content, false otherwise.


Top ↑

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

Top ↑

Changelog Changelog

Changelog
Version Description
1.2.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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