wpmem_logout_redirect

Description

A filter for the url that the user is directed to on logout (default is the home page).

Parameters

$redirect_to
(string)(optional) The current URL being redirected to.

Usage

[snippet slug=wpmem_logout_redirect lang=php]

Changelog

  • Introduced in 2.7.1
  • 3.1.7 Moved to WP_Members_Users object class

Source

wpmem_login_redirect is located in /inc/class-wp-members-form.php

Scroll to Top