bp_is_template_included()

Is a BuddyPress template being included?


Description Description


Return Return

(bool) True if yes, false if no.


Top ↑

Source Source

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

function bp_is_template_included() {
	return isset( buddypress()->theme_compat->found_template ) && 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.