Changeset 12606 for trunk/src/bp-blogs/bp-blogs-functions.php
- Timestamp:
- 03/31/2020 02:45:13 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-blogs/bp-blogs-functions.php
r12605 r12606 412 412 do_action_ref_array( 'bp_blogs_new_blog', array( &$recorded_blog, $is_private, $is_recorded, $no_activity ) ); 413 413 } 414 add_action( ' wpmu_new_blog', 'bp_blogs_record_blog', 10, 2 );414 add_action( 'bp_insert_site', 'bp_blogs_record_blog', 10, 2 ); 415 415 416 416 /** … … 995 995 do_action( 'bp_blogs_remove_blog', $blog_id ); 996 996 } 997 add_action( ' delete_blog', 'bp_blogs_remove_blog' );997 add_action( 'bp_delete_site', 'bp_blogs_remove_blog' ); 998 998 999 999 /** … … 1219 1219 do_action( 'bp_blogs_remove_data_for_blog', $blog_id ); 1220 1220 } 1221 add_action( ' delete_blog', 'bp_blogs_remove_data_for_blog', 1 );1221 add_action( 'bp_delete_site', 'bp_blogs_remove_data_for_blog', 1 ); 1222 1222 1223 1223 /**
Note: See TracChangeset
for help on using the changeset viewer.