bp_get_signup_allowed

  • apply_filters( 'bp_get_signup_allowed', $signup_allowed )

    Source Reference:

    • Component: BuddyPress :: bp-members
      File: /bp-members/bp-members-template.php :: Trac Source Line: 1147
      		if ( is_multisite() ) {
      			if ( in_array( $bp->site_options['registration'], array( 'all', 'user' ) ) )
      				$signup_allowed = true;
      
      		} else {
      			if ( get_option( 'users_can_register') )
      				$signup_allowed = true;
      		}
      
      		return apply_filters( 'bp_get_signup_allowed', $signup_allowed );
      	}
      
      /**
       * Hook member activity feed to <head>
       *
       * @since 1.5
       */
      function bp_members_activity_feed() {
      	if ( !bp_is_active( 'activity' ) || !bp_is_user() )
      		return; ?>
      

Comments are closed.