bbp_get_{$type}_template

bbp_get_{$type}_template

Hook Type: filter

See hook in core

Displaying hooks found in version: bbpress.2.6.9

apply_filters('bbp_get_{$type}_template') is found 1 times:

  • /includes/core/template-functions.php line 436
    		$templates = array( "{$type}.php" );
    	}
    
    	// Filter possible templates
    	$templates = apply_filters( "bbp_get_{$type}_template", $templates );
    
    	// Stash the possible templates for this query, for later use
    	bbp_set_theme_compat_templates( $templates );
    
    	// Try to locate a template in the stack
    	$template = bbp_locate_template( $templates );