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.


Top ↑

Source

File: wp-signup.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.0.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.