bbp_redirect_login

  • apply_filters( 'bbp_redirect_login', $url, $raw_url, $user )

    Source Reference:

    • Component: bbPress :: bbp-user
      File: /bbp-includes/bbp-user-functions.php :: Trac Source Line: 41
      	// $url was manually set in wp-login.php to redirect to admin
      	elseif ( admin_url() == $url )
      		$url = home_url();
      
      	// $url is empty
      	elseif ( empty( $url ) )
      		$url = home_url();
      
      	return apply_filters( 'bbp_redirect_login', $url, $raw_url, $user );
      }
      
      /**
       * Is an anonymous topic/reply being made?
       *
       * @since bbPres (r2688)
       *
       * @uses is_user_logged_in() Is the user logged in?
       * @uses bbp_allow_anonymous() Is anonymous posting allowed?
       * @uses apply_filters() Calls 'bbp_is_anonymous' with the return value
      

Comments are closed.