blog_details filter-hookWP 3.0.0

Deprecated from version 4.7.0. It is no longer supported and can be removed in future releases. See site_details.

Filters a blog's details.

Usage

add_filter( 'blog_details', 'wp_kama_blog_details_filter', 10, 2 );

/**
 * Function for `blog_details` filter-hook.
 * 
 * @param WP_Site $details The blog details.
 * @param         $string  
 *
 * @return WP_Site
 */
function wp_kama_blog_details_filter( $details, $string ){

	// filter...
	return $details;
}
$details(WP_Site)
The blog details.
$string
-

Changelog

Since 3.0.0 Introduced.
Deprecated since 4.7.0 Use {@see 'site_details'} instead.

Where the hook is called

get_blog_details()
blog_details
WP_Site::get_details()
blog_details
wp-includes/ms-blogs.php 265
$details = apply_filters_deprecated( 'blog_details', array( $details ), '4.7.0', 'site_details' );
wp-includes/class-wp-site.php 340
$details = apply_filters_deprecated( 'blog_details', array( $details ), '4.7.0', 'site_details' );

Where the hook is used in WordPress

Usage not found.