bp_core_update_directory_page_ids( array $blog_page_ids )

Store the list of BP directory pages in the appropriate meta table.


Description Description

The 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.


Parameters Parameters

$blog_page_ids

(Required) The IDs of the WP pages corresponding to BP component directories.


Top ↑

Source Source

File: bp-core/bp-core-functions.php

function bp_core_update_directory_page_ids( $blog_page_ids ) {
	bp_update_option( 'bp-pages', $blog_page_ids );
}

Top ↑

Changelog Changelog

Changelog
Version Description
1.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.