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:

functions.php
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.

  1. BuddyPress icon BuddyPress90,000+ installs apply_filters( 'wpmu_active_signup', $active_signup ) bp-blogs/bp-blogs-functions.php:1525
  2. Theme My Login icon Theme My Login50,000+ installs apply_filters( 'wpmu_active_signup', get_site_option( 'registration', 'none' ) ) includes/ms-functions.php:1187
  3. SecuPress with Simple SSL icon SecuPress with Simple SSL40,000+ installs apply_filters( 'wpmu_active_signup', $active_signup ) free/modules/users-login/plugins/login-captcha.php:111
  4. NS Cloner icon NS Cloner6,000+ installs apply_filters( 'wpmu_active_signup', $active_signup ) ns-utils.php:504
  5. Funtionalities for Alpus theme icon Funtionalities for Alpus theme100+ installs apply_filters( 'wpmu_active_signup', $active_signup ) framework/builders/header/widgets/account/render-account-elementor.php:118
  6. MailBard Newsletters icon MailBard Newsletters10+ installs apply_filters( 'wpmu_active_signup', $active_signup ) legacy/views/back/config.php:48
  7. PeoplePress icon 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.