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 |
---|---|
1504 | * path depending on the network settings. |
1505 | * |
1506 | * @since 3.5.0 |
1507 | * |
1508 | * @param int|null $result The site ID if the site name exists, null otherwise. |
1509 | * @param string $domain Domain to be checked. |
1510 | * @param string $path Path to be checked. |
1511 | * @param int $network_id Network ID. Relevant only on multi-network installations. |
1512 | */ |
1513 | return apply_filters( 'domain_exists', $result, $domain, $path, $network_id ); |
1514 | } |
1515 |
|
1516 | /** |
1517 | * Notify a user that their blog activation has been successful. |
1518 | * |
1519 | * Filter {@see 'wpmu_welcome_notification'} to disable or bypass. |
1520 | * |
1521 | * Filter {@see 'update_welcome_email'} and {@see 'update_welcome_subject'} to |
1522 | * modify the content and subject line of the notification email. |