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 |
|---|---|
| 717 | * |
| 718 | * @param array $meta Signup meta data. Default empty array. |
| 719 | * @param string $domain The requested domain. |
| 720 | * @param string $path The requested path. |
| 721 | * @param string $title The requested site title. |
| 722 | * @param string $user The user's requested login name. |
| 723 | * @param string $user_email The user's email address. |
| 724 | * @param string $key The user's activation key. |
| 725 | */ |
| 726 | $meta = apply_filters( 'signup_site_meta', $meta, $domain, $path, $title, $user, $user_email, $key ); |
| 727 | |
| 728 | $wpdb->insert( $wpdb->signups, array( |
| 729 | 'domain' => $domain, |
| 730 | 'path' => $path, |
| 731 | 'title' => $title, |
| 732 | 'user_login' => $user, |
| 733 | 'user_email' => $user_email, |
| 734 | 'registered' => current_time('mysql', true), |
| 735 | 'activation_key' => $key, |