bp_do_theme_compat()

Are we currently replacing the_content?


Description Description


Return Return

(bool) True if the_content is currently in the process of being filtered and replaced.


Top ↑

Source Source

File: bp-core/bp-core-theme-compatibility.php

function bp_do_theme_compat() {
	return (bool) ( ! bp_is_template_included() && in_the_loop() && bp_is_theme_compat_active() );
}

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.