Return the activity component slug.

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

Top ↑

Changelog Changelog

Version Description
1.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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