bp_core_get_directory_page_ids

  • apply_filters( 'bp_core_get_directory_page_ids', $page_ids )

    Source Reference:

    • Component: BuddyPress :: bp-core
      File: /bp-core/bp-core-functions.php :: Trac Source Line: 104
      	// Ensure that empty indexes are unset. Should only matter in edge cases
      	if ( $page_ids && is_array( $page_ids ) ) {
      		foreach( (array)$page_ids as $component_name => $page_id ) {
      			if ( empty( $component_name ) || empty( $page_id ) ) {
      				unset( $page_ids[$component_name] );
      			}
      		}
      	}
      
      	return apply_filters( 'bp_core_get_directory_page_ids', $page_ids );
      }
      
      /**
       * Stores BP pages in the meta table, depending on setup
       *
       * bp-pages data is stored in site_options (falls back to options on non-MS), in an array keyed by
       * blog_id. This allows you to change your bp_get_root_blog_id() and go through the setup process again.
       *
       * @package BuddyPress Core
       * @since 1.5
      

Comments are closed.