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 |
---|---|
780 | * The metadata will be serialized prior to storing it in the database. |
781 | * |
782 | * @since 4.8.0 |
783 | * |
784 | * @param array $meta Signup meta data. Default empty array. |
785 | * @param string $user The user's requested login name. |
786 | * @param string $user_email The user's email address. |
787 | * @param string $key The user's activation key. |
788 | */ |
789 | $meta = apply_filters( 'signup_user_meta', $meta, $user, $user_email, $key ); |
790 |
|
791 | $wpdb->insert( $wpdb->signups, array( |
792 | 'domain' => '', |
793 | 'path' => '', |
794 | 'title' => '', |
795 | 'user_login' => $user, |
796 | 'user_email' => $user_email, |
797 | 'registered' => current_time('mysql', true), |
798 | 'activation_key' => $key, |