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
1565       * path depending on the network settings.
1566       *
1567       * @since 3.5.0
1568       *
1569       * @param int|null $result     The site ID if the site name exists, null otherwise.
1570       * @param string   $domain     Domain to be checked.
1571       * @param string   $path       Path to be checked.
1572       * @param int      $network_id Network ID. Relevant only on multi-network installations.
1573       */
1574      return apply_filters( 'domain_exists', $result, $domain, $path, $network_id );
1575 }
1576
1577 /**
1578  * Notifies the site administrator that their site activation was successful.
1579  *
1580  * Filter {@see 'wpmu_welcome_notification'} to disable or bypass.
1581  *
1582  * Filter {@see 'update_welcome_email'} and {@see 'update_welcome_subject'} to
1583  * modify the content and subject line of the notification email.