bbp_get_forum_post_type_rewrite()

Return array of forum post type rewrite settings

Description

Return

(array)

Source

File: bp-forums/forums/template.php

function bbp_get_forum_post_type_rewrite() {
	return apply_filters( 'bbp_get_forum_post_type_rewrite', array(
		'slug'       => bbp_get_forum_slug(),
		'with_front' => false
	) );
}

Changelog

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