bp_core_admin_help_display_content( $docs_path )

Display Help Page content

Description

Parameters

$docs_path

(Required)

Source

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

function bp_core_admin_help_display_content( $docs_path ) {
	$base_path   = buddypress()->plugin_dir . 'bp-help';
	$vendor_path = $base_path . '/vendors';
	require_once $vendor_path . '/parsedown/Parsedown.php';

	$Parsedown = new Parsedown();
	$text      = file_get_contents( $docs_path );

	return bp_core_rap_the_content_filter( $Parsedown->text( $text ) );
}

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.