signup_site_meta WordPress Filter Hook

The signup_site_meta hook is a great way to add extra fields to the signup form on your WordPress site. This hook allows you to add new fields to the form, as well as modify existing fields. This is a great way to collect additional information from your users during the signup process.

apply_filters( 'signup_site_meta', array $meta, string $domain, string $path, string $title, string $user, string $user_email, string $key ) #

Filters the metadata for a site signup.


Description

The metadata will be serialized prior to storing it in the database.


Top ↑

Parameters

$meta

(array)Signup meta data. Default empty array.

$domain

(string)The requested domain.

$path

(string)The requested path.

$title

(string)The requested site title.

$user

(string)The user's requested login name.

$user_email

(string)The user's email address.

$key

(string)The user's activation key.


Top ↑

Source

File: wp-includes/ms-functions.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
4.8.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.

Show More
Show More