bbp_allowed_themes

Filter the allowed themes list for bbPress specific themes.

Description

bbp_allowed_themes( $themes ); 

Parameters (1)

0. $themes
The themes.

Usage

  1. if ( !function_exists( 'bbp_allowed_themes' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'bbpress/includes/core/sub-actions.php'; 
  3.  
  4. // The themes. 
  5. $themes = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = bbp_allowed_themes($themes); 
  9.  

Defined (1)

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

/includes/core/sub-actions.php  
  1. function bbp_allowed_themes( $themes ) { 
  2. return apply_filters( 'bbp_allowed_themes', $themes );