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 |
---|---|
1538 | * path depending on the network settings. |
1539 | * |
1540 | * @since 3.5.0 |
1541 | * |
1542 | * @param int|null $result The site ID if the site name exists, null otherwise. |
1543 | * @param string $domain Domain to be checked. |
1544 | * @param string $path Path to be checked. |
1545 | * @param int $network_id Network ID. Relevant only on multi-network installations. |
1546 | */ |
1547 | return apply_filters( 'domain_exists', $result, $domain, $path, $network_id ); |
1548 | } |
1549 |
|
1550 | /** |
1551 | * Notify a user that their blog activation has been successful. |
1552 | * |
1553 | * Filter {@see 'wpmu_welcome_notification'} to disable or bypass. |
1554 | * |
1555 | * Filter {@see 'update_welcome_email'} and {@see 'update_welcome_subject'} to |
1556 | * modify the content and subject line of the notification email. |