bbp_get_super_stickies()

Return topics stuck to front page of the forums

Description

Return

(array) IDs of super sticky topics

Source

File: bp-forums/topics/functions.php

function bbp_get_super_stickies() {
	$stickies = get_option( '_bbp_super_sticky_topics', array() );
	$stickies = ( empty( $stickies ) || !is_array( $stickies ) ) ? array() : $stickies;

	return apply_filters( 'bbp_get_super_stickies', $stickies );
}

Changelog

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