Return the activity user ID.

Return Return

(int) The activity user ID.

Source Source

File: bp-activity/bp-activity-template.php

	function bp_get_activity_user_id() {
		global $activities_template;

		 * Filters the activity user ID.
		 * @since 1.1.0
		 * @param int $user_id The activity user ID.
		return apply_filters( 'bp_get_activity_user_id', $activities_template->activity->user_id );

Top ↑

Changelog Changelog

Version Description
1.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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