bbp_get_private_forum_ids

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

    Source Reference:

    • Component: bbPress :: bbp-forum
      File: /bbp-includes/bbp-forum-functions.php :: Trac Source Line: 840
       * @since bbPress (r3007)
       *
       * @uses get_option() Returns the unserialized array of private forum ids
       * @uses apply_filters() Calls 'bbp_forum_query_topic_ids' with the topic ids
       *                        and forum id
       */
      function bbp_get_private_forum_ids() {
         	$forum_ids = get_option( '_bbp_private_forums', array() );
      
      	return apply_filters( 'bbp_get_private_forum_ids', (array) $forum_ids );
      }
      
      /**
       * Returns a meta_query that either includes or excludes hidden forum IDs
       * from a query.
       *
       * @since bbPress (r3291)
       *
       * @param string Optional. The type of value to return. (string|array|meta_query)
       *
      

Comments are closed.