Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #61874, comment 3


Ignore:
Timestamp:
08/15/2024 07:03:08 AM (5 months ago)
Author:
dd32
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #61874, comment 3

    initial v1  
    44Going back to the `logout_redirect` filter, it's also possible to retrieve the session token at that point in time, although the data will have been lost (although the token is still known):
    55{{{#!php
     6<?php
    67add_filter( 'logout_redirect', function( $redirect, $requested_redirect_to, $user ) {
    78        var_dump( [