bp_blogs_delete_url_blogmeta( int $site_id )

Deletes the ‘url’ blogmeta for a site.


Description 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’.


Top ↑

Parameters Parameters

$site_id

(int) (Required) The site ID.


Source 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' );
}


Top ↑

Changelog Changelog

Changelog
Version Description
2.3.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.