bp_blogs_delete_url_blogmeta( int $site_id )
Deletes the ‘url’ blogmeta for a site.
Description
Fires when a site’s details are updated, which generally happens when editing a site under "Network Admin > Sites". Prior to WP 4.9, the correct hook was ‘refresh_blog_details’; afterward, ‘clean_site_cache’.
Parameters
- $site_id
-
(Required) The site ID.
Source
File: bp-blogs/bp-blogs-functions.php
function bp_blogs_delete_url_blogmeta( $site_id = 0 ) { bp_blogs_delete_blogmeta( (int) $site_id, 'url' ); }
Changelog
Version | Description |
---|---|
BuddyPress 2.3.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.