bp_core_admin_help_had_more_directory( string $path )

Check if the given path has more directory. True if has more directory else false

Description

Parameters

$path

(string) (Required)

Return

(bool) $more_dir True if has more directory else false

Source

File: bp-core/admin/bp-core-admin-help.php

function bp_core_admin_help_had_more_directory( $path ) {
	$more_dir   = false;
	$path_array = explode( '/', $path );
	$file_name  = end( $path_array );

	if ( strpos( $file_name, '0-overview.md' ) !== false ) {
		$more_dir = true;
	}

	return $more_dir;
}

Changelog

Changelog
Version Description
BuddyBoss 1.0.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.