bbp_get_super_stickies()
Return topics stuck to front page of the forums
Description Description
Return Return
(array) IDs of super sticky topics
Source Source
File: includes/topics/functions.php
function bbp_get_super_stickies() { // Get super stickies $stickies = get_option( '_bbp_super_sticky_topics', array() ); // Cast as array $stickies = ( empty( $stickies ) || ! is_array( $stickies ) ) ? array() : wp_parse_id_list( $stickies ); // Filter & return return (array) apply_filters( 'bbp_get_super_stickies', $stickies ); }
Changelog Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |