add_signup_meta WordPress Filter Hook
The add_signup_meta hook allows you to add extra data to a user's signup meta data. This can be useful for storing additional information about the user, such as their preferred language or timezone.
apply_filters( 'add_signup_meta', array $meta ) #
Filters the new default site meta variables.
Parameters
- $meta
(array)An array of default site meta variables.
- 'lang_id'
(int) The language ID. - 'blog_public'
(int) Whether search engines should be discouraged from indexing the site. 1 for true, 0 for false.
- 'lang_id'
Source
File: wp-signup.php
Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |