bbp_get_forum_archive_template()
Get the forum archive template
Description
Return
(string) Path to template file
Source
File: bp-forums/core/template-loader.php
function bbp_get_forum_archive_template() { $templates = array( 'archive-' . bbp_get_forum_post_type() . '.php' // Forum Archive ); return bbp_get_query_template( 'forum_archive', $templates ); }
Changelog
Version | Description |
---|---|
bbPress (r3922) | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.