bp_forums_parent_forum_id

  • apply_filters( 'bp_forums_parent_forum_id', BP_FORUMS_PARENT_FORUM_ID )

    Source Reference:

    • Component: BuddyPress :: bp-forums
      File: /bp-forums/bp-forums-functions.php :: Trac Source Line: 587
      /**
       * Returns the parent forum id for the bbPress abstraction layer
       *
       * @package BuddyPress
       * @since 1.5
       *
       * @return int
       */
      function bp_forums_parent_forum_id() {
      	return apply_filters( 'bp_forums_parent_forum_id', BP_FORUMS_PARENT_FORUM_ID );
      }
      
      /**
       * Should sticky topics be broken out of regular topic order on forum directories?
       *
       * Defaults to false. Define BP_FORUMS_ENABLE_GLOBAL_DIRECTORY_STICKIES, or filter
       * bp_forums_enable_global_directory_stickies, to change this behavior.
       *
       * @package BuddyPress
       * @since 1.5
      

Comments are closed.