apply_filters( 'friends_get_newest', array $friends )

Filters a user’s friends listed from newest to oldest.

Description

Parameters

$friends

(array)

  • 'total_users'
    (int) Total number of users matched by query params.
  • 'paged_users'
    (array) The current page of users matched by query params.

Source

File: bp-friends/bp-friends-functions.php

Changelog

Changelog
Version Description
BuddyPress 1.2.0 Introduced.

Questions?

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.