Changeset 5775 for trunk/src/includes/forums/functions.php
- Timestamp:
- 05/21/2015 09:57:32 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/includes/forums/functions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/forums/functions.php
r5770 r5775 43 43 44 44 // Insert forum 45 $forum_id = wp_insert_post( $forum_data );45 $forum_id = wp_insert_post( $forum_data ); 46 46 47 47 // Bail if no forum was added … … 68 68 update_post_meta( $forum_id, '_bbp_' . $meta_key, $meta_value ); 69 69 } 70 71 // Update the forum and hierarchy 72 bbp_update_forum( array( 73 'forum_id' => $forum_id, 74 ) ); 70 75 71 76 // Return new forum ID
Note: See TracChangeset
for help on using the changeset viewer.