bbp_get_topic_edit_template()

Get the topic edit template

Description

Return

(string) Path to template file

Source

File: bp-forums/core/template-loader.php

function bbp_get_topic_edit_template() {
	$templates = array(
		'single-' . bbp_get_topic_post_type() . '-edit.php' // Single Topic Edit
	);
	return bbp_get_query_template( 'topic_edit', $templates );
}

Changelog

Changelog
Version Description
bbPress (r3311) 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.