bp_get_activity_object_name()
Return the activity object name.
Description Description
Return Return
(string) The activity object name.
Source Source
File: bp-activity/bp-activity-template.php
function bp_get_activity_object_name() { global $activities_template; /** * Filters the activity object name. * * @since 1.2.0 * * @param string $activity_component The activity object name. */ return apply_filters( 'bp_get_activity_object_name', $activities_template->activity->component ); }
Changelog Changelog
Version | Description |
---|---|
1.2.0 | Introduced. |