@since: BuddyPress 2.9.0 Add $status parameter
Description
bp_core_get_directory_page_ids

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

Source: bp-core/bp-core-functions.php:543