Check for the existence of a Members directory page.

Return Return

(bool) True if found, otherwise false.

Source Source

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

function bp_members_has_directory() {
	$bp = buddypress();

	return (bool) !empty( $bp->pages->members->id );

Top ↑

Changelog Changelog

Version Description
1.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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