bp_registration_needs_activation

  • apply_filters( 'bp_registration_needs_activation', true )

    Source Reference:

    • Component: BuddyPress :: bp-core
      File: /bp-core/bp-core-template.php :: Trac Source Line: 526
      function bp_account_was_activated() {
      	global $bp;
      
      	$activation_complete = !empty( $bp->activation_complete ) ? $bp->activation_complete : false;
      
      	return $activation_complete;
      }
      
      function bp_registration_needs_activation() {
      	return apply_filters( 'bp_registration_needs_activation', true );
      }
      
      /**
       * Allow templates to pass parameters directly into the template loops via AJAX
       *
       * For the most part this will be filtered in a theme's functions.php for example
       * in the default theme it is filtered via bp_dtheme_ajax_querystring()
       *
       * By using this template tag in the templates it will stop them from showing errors
       * if someone copies the templates from the default theme into another WordPress theme
      

Comments are closed.