wppaste
WordPress

do_action_deprecated( 'refresh_blog_details', int $blog_id )

Since
3.4.0
Fires after the blog details cache is cleared.

Compatibility

Deprecated in WordPress 4.9.0. Use {@see 'clean_site_cache'} instead.

WordPress
since 3.4.0
  • 6.7.7
  • 6.8.8
  • 6.9.7
  • 7.0.4
  • 7.1.0

Present in every tracked release (6.7.7 to 7.1.0).

Parameters

$blog_idint
Blog ID.

Where this hook fires · 1

  • wp-includes/ms-site.php:1019clean_blog_cache()

Source code

	 *	 * @since 3.4.0	 * @deprecated 4.9.0 Use {@see 'clean_site_cache'} instead.	 *	 * @param int $blog_id Blog ID.	 */	do_action_deprecated( 'refresh_blog_details', array( $blog_id ), '4.9.0', 'clean_site_cache' );} /** * Adds metadata to a site. * * For historical reasons both the meta key and the meta value are expected to be "slashed" (slashes escaped) on input.

Changelog

Introduced in 3.4.0. Unchanged from 6.7.7 through 7.1.0.

  1. 6.7.7
  2. 6.8.8
  3. 6.9.7
  4. 7.0.4
  5. 7.1.0

Signature, return type and hooks compared across 5 parsed releases.

4.9.0
Deprecated. Use 'clean_site_cache' instead.from the docblock
3.4.0
Introduced.from the docblock

About this page

Parsed data
Generated from the wordpress-develop 7.1.0 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.