bp_forums_enable_global_directory_stickies

  • apply_filters( 'bp_forums_enable_global_directory_stickies', defined( 'BP_FORUMS_ENABLE_GLOBAL_DIRECTORY_STICKIES' ) && BP_FORUMS_ENABLE_GLOBAL_DIRECTORY_STICKIES )

    Source Reference:

    • Component: BuddyPress :: bp-forums
      File: /bp-forums/bp-forums-functions.php :: Trac Source Line: 603
       * bp_forums_enable_global_directory_stickies, to change this behavior.
       *
       * @package BuddyPress
       * @since 1.5
       *
       * @return bool True if stickies should be displayed at the top of the global directory, false
       *    otherwise.
       */
      function bp_forums_enable_global_directory_stickies() {
      	return apply_filters( 'bp_forums_enable_global_directory_stickies', defined( 'BP_FORUMS_ENABLE_GLOBAL_DIRECTORY_STICKIES' ) && BP_FORUMS_ENABLE_GLOBAL_DIRECTORY_STICKIES );
      }
      
      /********************************************************************************
       * Caching
       *
       * Caching functions handle the clearing of cached objects and pages on specific
       * actions throughout BuddyPress.
       */
      

Comments are closed.