bbp_get_topic_types( int $topic_id )
Return an associative array of topic sticky types
Description Description
Parameters Parameters
- $topic_id
-
(Optional) Topic id.
Return Return
(array)
Source Source
File: includes/topics/functions.php
function bbp_get_topic_types( $topic_id = 0 ) { // Filter & return return (array) apply_filters( 'bbp_get_topic_types', array( 'unstick' => _x( 'Normal', 'Unstick a topic', 'bbpress' ), 'stick' => _x( 'Sticky', 'Make topic sticky', 'bbpress' ), 'super' => _x( 'Super Sticky', 'Make topic super sticky', 'bbpress' ) ), $topic_id ); }
Changelog Changelog
Version | Description |
---|---|
2.4.0 | Introduced. |