bbp_get_theme_compat_url()

Gets the bbPress compatible 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 compatibility layers for their themes.


Description Description


Return Return

(string)


Top ↑

Source Source

File: includes/core/theme-compat.php

function bbp_get_theme_compat_url() {

	// Filter & return
	return apply_filters( 'bbp_get_theme_compat_url', bbp_get_current_template_pack()->url );
}

Top ↑

Changelog Changelog

Changelog
Version Description
2.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.