Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: make_delete_blog

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.

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
1231           if ( 1 == $new_site->deleted ) {
1232
1233                /**
1234                 * Fires when the 'deleted' status is added to a site.
1235                 *
1236                 * @since 3.5.0
1237                 *
1238                 * @param int $site_id Site ID.
1239                 */
1240                do_action( 'make_delete_blog', $site_id );
1241           } else {
1242
1243                /**
1244                 * Fires when the 'deleted' status is removed from a site.
1245                 *
1246                 * @since 3.5.0
1247                 *
1248                 * @param int $site_id Site ID.
1249                 */