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
259           $details = (object) array(
260                'blog_id' => $blog_id,
261                'domain' => null,
262                'path' => null
263           );
264      }
265
266      clean_blog_cache( $details );
267
268      do_action( 'refresh_blog_details', $blog_id );
269 }
270
271 /**
272  * Update the details for a blog. Updates the blogs table for a given blog id.
273  *
274  * @since MU
275  *
276  * @param int $blog_id Blog ID
277  * @param array $details Array of details keyed by blogs table field names.