Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: domain_exists

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
1374       * path depending on the network settings.
1375       *
1376       * @since 3.5.0
1377       *
1378       * @param int|null $result     The site ID if the site name exists, null otherwise.
1379       * @param string   $domain     Domain to be checked.
1380       * @param string   $path       Path to be checked.
1381       * @param int      $network_id Network ID. Relevant only on multi-network installations.
1382       */
1383      return apply_filters( 'domain_exists', $result, $domain, $path, $network_id );
1384 }
1386 /**
1387  * Store basic site info in the blogs table.
1388  *
1389  * This function creates a row in the wp_blogs table and returns
1390  * the new blog's ID. It is the first step in creating a new blog.
1391  *
1392  * @since MU (3.0.0)