bbp_get_super_stickies

  • apply_filters( 'bbp_get_super_stickies', $stickies )

    Source Reference:

    • Component: bbPress :: bbp-topic
      File: /bbp-includes/bbp-topic-functions.php :: Trac Source Line: 1769
       *
       * @uses get_option() To get super sticky topics
       * @uses apply_filters() Calls 'bbp_get_super_stickies' with the stickies
       * @return array IDs of super sticky topics
       */
      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 );
      }
      
      /** Topics Actions ************************************************************/
      
      /**
       * Handles the front end opening/closing, spamming/unspamming,
       * sticking/unsticking and trashing/untrashing/deleting of topics
       *
       * @since bbPress (r2727)
       *
      

Comments are closed.