bbp_get_template_locations( array $templates = array() )

Get the possible subdirectories to check for templates in


Description Description


Parameters Parameters

$templates

(Optional) Templates we are looking for

Default value: array()


Top ↑

Return Return

(array) Possible subdirectories to look in


Top ↑

Source Source

File: includes/core/template-functions.php

function bbp_get_template_locations( $templates = array() ) {
	$locations = array(
		'bbpress',
		'forums',
		''
	);

	// Filter & return
	return apply_filters( 'bbp_get_template_locations', $locations, $templates );
}

Top ↑

Changelog Changelog

Changelog
Version Description
2.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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