blog_details
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
blog_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' );