apply_filters( 'signup_site_meta', array $meta, string $domain, string $path, string $title, string $user, string $user_email, string $key )
- Since
- 4.8.0
Filters the metadata for a site signup.
Description
The metadata will be serialized prior to storing it in the database.
Compatibility
- WordPress
- since 4.8.0
- 6.7.7
- 6.8.8
- 6.9.7
- 7.0.4
- 7.1.0
Present in every tracked release (6.7.7 to 7.1.0).
Parameters
$metaarray- Signup meta data. Default empty array.
$domainstring- The requested domain.
$pathstring- The requested path.
$titlestring- The requested site title.
$userstring- The user's requested login name.
$user_emailstring- The user's email address.
$keystring- The user's activation key.
Where this hook fires · 1
wp-includes/ms-functions.php:821wpmu_signup_blog()
Source code
<?php * @param string $path The requested path. * @param string $title The requested site title. * @param string $user The user's requested login name. * @param string $user_email The user's email address. * @param string $key The user's activation key. */ $meta = apply_filters( 'signup_site_meta', $meta, $domain, $path, $title, $user, $user_email, $key ); $wpdb->insert( $wpdb->signups, array( 'domain' => $domain, 'path' => $path,Changelog
Introduced in 4.8.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 7.0.4 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
- Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.