Welcome, visitor! Log in
 

Source View: refresh_blog_details

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

  • Action hooks look like this: do_action( "hook_name" )
  • Filter hooks look like this: apply_filters( "hook_name", "what_to_filter" ).

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
258      clean_blog_cache( $details );
259
260      /**
261       * Fires after the blog details cache is cleared.
262       *
263       * @since 3.4.0
264       *
265       * @param int $blog_id Blog ID.
266       */
267      do_action( 'refresh_blog_details', $blog_id );
268 }
269
270 /**
271  * Update the details for a blog. Updates the blogs table for a given blog id.
272  *
273  * @since MU
274  *
275  * @param int $blog_id Blog ID
276  * @param array $details Array of details keyed by blogs table field names.