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 |
|---|---|
| 755 | * The metadata will be serialized prior to storing it in the database. |
| 756 | * |
| 757 | * @since 4.8.0 |
| 758 | * |
| 759 | * @param array $meta Signup meta data. Default empty array. |
| 760 | * @param string $user The user's requested login name. |
| 761 | * @param string $user_email The user's email address. |
| 762 | * @param string $key The user's activation key. |
| 763 | */ |
| 764 | $meta = apply_filters( 'signup_user_meta', $meta, $user, $user_email, $key ); |
| 765 | |
| 766 | $wpdb->insert( $wpdb->signups, array( |
| 767 | 'domain' => '', |
| 768 | 'path' => '', |
| 769 | 'title' => '', |
| 770 | 'user_login' => $user, |
| 771 | 'user_email' => $user_email, |
| 772 | 'registered' => current_time('mysql', true), |
| 773 | 'activation_key' => $key, |