signup_create_blog_meta
Deprecated from version 3.0.0. It is no longer supported and can be removed in future releases. See add_signup_meta.
Filters the new site meta variables.
Use the add_signup_meta filter instead.
Usage
add_filter( 'signup_create_blog_meta', 'wp_kama_signup_create_blog_meta_filter', 10, 2 ); /** * Function for `signup_create_blog_meta` filter-hook. * * @param array $blog_meta_defaults An array of default blog meta variables. * @param $string * * @return array */ function wp_kama_signup_create_blog_meta_filter( $blog_meta_defaults, $string ){ // filter... return $blog_meta_defaults; }
- $blog_meta_defaults(array)
- An array of default blog meta variables.
- $string
- -
Changelog
Since 3.0.0 | Introduced. |
Deprecated since 3.0.0 | Use the {@see 'add_signup_meta'} filter instead. |
Where the hook is called
signup_create_blog_meta
wp-signup.php 483
$meta_defaults = apply_filters_deprecated( 'signup_create_blog_meta', array( $blog_meta_defaults ), '3.0.0', 'add_signup_meta' );