This method has been deprecated.

BP_Activity_Activity::get_specific( mixed $activity_ids, int|bool $max = false, int $page = 1, int $per_page = 25, string $sort = 'DESC', bool $display_comments = false )

In BuddyPress 1.2.x, this was used to retrieve specific activity feed items (for example, on an activity’s permalink page).


As of 1.5.x, use BP_Activity_Activity::get() with an ‘in’ parameter instead.



(mixed) (Required) Array or comma-separated string of activity IDs to retrieve.


(int|bool) (Optional) Maximum number of results to return. (Optional; default is no maximum).

Default value: false


(int) (Optional) The set of results that the user is viewing. Used in pagination. (Optional; default is 1).

Default value: 1


(int) (Optional) Specifies how many results per page. Used in pagination. (Optional; default is 25).

Default value: 25


(string) (Optional) MySQL column sort; ASC or DESC. (Optional; default is DESC).

Default value: 'DESC'


(bool) (Optional) Retrieve an activity item's associated comments or not. (Optional; default is false).

Default value: false




File: bp-activity/classes/class-bp-activity-activity.php

	public static function get_specific( $activity_ids, $max = false, $page = 1, $per_page = 25, $sort = 'DESC', $display_comments = false ) {
		_deprecated_function( __FUNCTION__, '1.5', 'Use BP_Activity_Activity::get() with the "in" parameter instead.' );
		return BP_Activity_Activity::get( $max, $page, $per_page, $sort, false, false, $display_comments, false, false, $activity_ids );


Version Description
BuddyPress 1.2.0 Introduced.


We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.