bp_do_theme_compat

Are we currently replacing the_content?.

Description

bp_do_theme_compat(); 

Usage

  1. if ( !function_exists( 'bp_do_theme_compat' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress/bp-core/bp-core-theme-compatibility.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = bp_do_theme_compat(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/bp-core/bp-core-theme-compatibility.php  
  1. function bp_do_theme_compat() { 
  2. return (bool) ( ! bp_is_template_included() && in_the_loop() && bp_is_theme_compat_active() );