bbp_get_theme_compat_dir

  • apply_filters( 'bbp_get_theme_compat_dir', $bbp->theme_compat->theme->dir )

    Source Reference:

    • Component: bbPress :: bbp-core
      File: /bbp-includes/bbp-core-compatibility.php :: Trac Source Line: 199
       * @since bbPress (r3032)
       *
       * @global bbPress $bbp
       * @uses apply_filters()
       * @return string
       */
      function bbp_get_theme_compat_dir() {
      	global $bbp;
      
      	return apply_filters( 'bbp_get_theme_compat_dir', $bbp->theme_compat->theme->dir );
      }
      
      /**
       * Gets the bbPress compatable theme used in the event the currently active
       * WordPress theme does not explicitly support bbPress. This can be filtered,
       * or set manually. Tricky theme authors can override the default and include
       * their own bbPress compatability layers for their themes.
       *
       * @since bbPress (r3032)
       *
      

Comments are closed.