site_details filter-hookWP 4.6.0

Filters a site's extended properties.

Usage

add_filter( 'site_details', 'wp_kama_site_details_filter' );

/**
 * Function for `site_details` filter-hook.
 * 
 * @param stdClass $details The site details.
 *
 * @return stdClass
 */
function wp_kama_site_details_filter( $details ){

	// filter...
	return $details;
}
$details(stdClass)
The site details.

Changelog

Since 4.6.0 Introduced.

Where the hook is called

WP_Site::get_details()
site_details
wp-includes/class-wp-site.php 348
$details = apply_filters( 'site_details', $details );

Where the hook is used in WordPress

Usage not found.