bbp_get_topic_types()

Return an associative array of topic sticky types

Description

Return

(array)

Source

File: bp-forums/topics/functions.php

function bbp_get_topic_types() {
	return apply_filters( 'bbp_get_topic_types', array(
		'unstick' => __( 'Normal', 'buddyboss' ),
		'stick'   => __( 'Sticky', 'buddyboss' ),
		'super'   => __( 'Super Sticky', 'buddyboss' )
	) );
}

Changelog

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