wpmu_active_signup
Filters the type of site sign-up.
Usage
add_filter( 'wpmu_active_signup', 'wp_kama_wpmu_active_signup_filter' ); /** * Function for `wpmu_active_signup` filter-hook. * * @param string $active_signup String that returns registration type. The value can be 'all', 'none', 'blog', or 'user'. * * @return string */ function wp_kama_wpmu_active_signup_filter( $active_signup ){ // filter... return $active_signup; }
- $active_signup(string)
- String that returns registration type. The value can be 'all', 'none', 'blog', or 'user'.
Changelog
Since 3.0.0 | Introduced. |
Where the hook is called
In file: /wp-signup.php
wpmu_active_signup
wp-signup.php 940
$active_signup = apply_filters( 'wpmu_active_signup', $active_signup );