WordPress filter hook
wpmu_active_signup
Fired by 7 WordPress plugins, running on 186K+ sites between them.
“Filters whether or not blog creation is enabled.”
How to use wpmu_active_signup
It's a filter: your callback receives the value, and must return the (changed) value.
Add this to your theme's functions.php or a small custom plugin:
add_filter( 'wpmu_active_signup', function( $active_signup ) {
// Change $active_signup here.
return $active_signup;
}, 10, 1 );Argument names come from BuddyPress's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
7 plugins that fire wpmu_active_signup
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
BuddyPress90,000+ installs
apply_filters( 'wpmu_active_signup', $active_signup )bp-blogs/bp-blogs-functions.php:1525 -
Theme My Login50,000+ installs
apply_filters( 'wpmu_active_signup', get_site_option( 'registration', 'none' ) )includes/ms-functions.php:1187 -
SecuPress with Simple SSL40,000+ installs
apply_filters( 'wpmu_active_signup', $active_signup )free/modules/users-login/plugins/login-captcha.php:111 -
NS Cloner6,000+ installs
apply_filters( 'wpmu_active_signup', $active_signup )ns-utils.php:504 -
Funtionalities for Alpus theme100+ installs
apply_filters( 'wpmu_active_signup', $active_signup )framework/builders/header/widgets/account/render-account-elementor.php:118 -
MailBard Newsletters10+ installs
apply_filters( 'wpmu_active_signup', $active_signup )legacy/views/back/config.php:48 -
PeoplePressFewer than 10 installs
apply_filters( 'wpmu_active_signup', $active_signup )src/modules/user/pp-user-functions.php:136
Need a customisation built on this hook?
Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.