WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )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.
| Line | Code |
|---|---|
| 233 | $details = (object) array( |
| 234 | 'blog_id' => $blog_id, |
| 235 | 'domain' => null, |
| 236 | 'path' => null |
| 237 | ); |
| 238 | } |
| 239 | |
| 240 | clean_blog_cache( $details ); |
| 241 | |
| 242 | do_action( 'refresh_blog_details', $blog_id ); |
| 243 | } |
| 244 | |
| 245 | /** |
| 246 | * Update the details for a blog. Updates the blogs table for a given blog id. |
| 247 | * |
| 248 | * @since MU |
| 249 | * |
| 250 | * @param int $blog_id Blog ID |
| 251 | * @param array $details Array of details keyed by blogs table field names. |