bbp_get_hidden_forum_ids

  • apply_filters( 'bbp_get_hidden_forum_ids', (array) $forum_ids )

    Source Reference:

    • Component: bbPress :: bbp-forum
      File: /bbp-includes/bbp-forum-functions.php :: Trac Source Line: 823
       * @since bbPress (r3007)
       *
       * @uses get_option() Returns the unserialized array of hidden forum ids
       * @uses apply_filters() Calls 'bbp_forum_query_topic_ids' with the topic ids
       *                        and forum id
       */
      function bbp_get_hidden_forum_ids() {
         	$forum_ids = get_option( '_bbp_hidden_forums', array() );
      
      	return apply_filters( 'bbp_get_hidden_forum_ids', (array) $forum_ids );
      }
      
      /**
       * Returns the private forum ids
       *
       * Only private forum ids are returned. Public and hidden ids are not.
       *
       * @since bbPress (r3007)
       *
       * @uses get_option() Returns the unserialized array of private forum ids
      

Comments are closed.