Changeset 2864
- Timestamp:
- 03/22/2010 11:54:23 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core.php
r2863 r2864 2018 2018 $new_page_ids = array(); 2019 2019 2020 var_dump( $bp->add_root );2021 2022 2020 foreach ( (array)$bp->add_root as $slug ) 2023 2021 $new_page_ids[$slug] = wp_insert_post( array( 'post_title' => ucwords( $slug ), 'post_status' => 'publish', 'post_type' => 'page' ) );
Note: See TracChangeset
for help on using the changeset viewer.