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
254      clean_blog_cache( $details );
255
256      /**
257       * Fires after the blog details cache is cleared.
258       *
259       * @since 3.4.0
260       *
261       * @param int $blog_id Blog ID.
262       */
263      do_action( 'refresh_blog_details', $blog_id );
264 }
265
266 /**
267  * Update the details for a blog. Updates the blogs table for a given blog id.
268  *
269  * @since MU
270  *
271  * @param int $blog_id Blog ID
272  * @param array $details Array of details keyed by blogs table field names.