Changeset 9839 for trunk/src/bp-blogs/bp-blogs-functions.php
- Timestamp:
- 05/06/2015 04:36:24 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-blogs/bp-blogs-functions.php
r9819 r9839 410 410 411 411 /** 412 * Deletes the 'url' blogmeta for a site. 413 * 414 * Hooked to 'refresh_blog_details', which is notably used when editing a site 415 * under "Network Admin > Sites". 416 * 417 * @since BuddyPress (2.3.0) 418 * 419 * @param int $site_id The site ID 420 */ 421 function bp_blogs_delete_url_blogmeta( $site_id = 0 ) { 422 bp_blogs_delete_blogmeta( (int) $site_id, 'url' ); 423 } 424 add_action( 'refresh_blog_details', 'bp_blogs_delete_url_blogmeta' ); 425 426 /** 412 427 * Record activity metadata about a published blog post. 413 428 *
Note: See TracChangeset
for help on using the changeset viewer.