apply_filters( 'bp_core_get_directory_page_ids', array $page_ids, string $status )

Filters the list of BP directory pages from the appropriate meta table.

Description

Parameters

$page_ids

Array of directory pages.

$status

Page status to limit results to

Source

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

Changelog

Changelog
Version Description
BuddyPress 2.9.0 Add $status parameter BuddyPress 2.9.0 Add $status parameter
BuddyPress 1.5.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.