bp_set_template_included( mixed $template = false )

Set the included template.


Parameters Parameters

$template

(mixed) (Optional) Default: false.

Default value: false


Top ↑

Return Return

(mixed) False if empty. Template name if template included.


Source Source

File: bp-core/bp-core-template-loader.php

function bp_set_template_included( $template = false ) {
	buddypress()->theme_compat->found_template = $template;

	return buddypress()->theme_compat->found_template;
}


Top ↑

Changelog Changelog

Changelog
Version Description
1.8.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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