bp_get_activity_slug()
Return the activity component slug.
Description Description
Return Return
(string) The activity component slug.
Source Source
File: bp-activity/bp-activity-template.php
function bp_get_activity_slug() { /** * Filters the activity component slug. * * @since 1.5.0 * * @param string $slug Activity component slug. */ return apply_filters( 'bp_get_activity_slug', buddypress()->activity->slug ); }
Changelog Changelog
Version | Description |
---|---|
1.5.0 | Introduced. |