bp_has_members_invitations( array|string $args = '' )

Initialize the community invitations loop.


Description Description

Based on the $args passed, bp_has_invitations() populates buddypress()->invitations->query_loop global, enabling the use of BP templates and template functions to display a list of invitations.


Parameters Parameters

$args

(Optional) Arguments for limiting the contents of the invitations loop. Can be passed as an associative array, or as a URL query string. See BP_Invitations_Invitation::get() for detailed information on the arguments. In addition, also supports:

  • 'max'
    (int) Optional. Max items to display. Default: false.
  • 'page_arg'
    (string) URL argument to use for pagination. Default: 'ipage'.

Default value: ''


Top ↑

Return Return

(bool)


Top ↑

Source Source

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


			

Top ↑

Changelog Changelog

Changelog
Version Description
8.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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