auth_cookie_valid

auth_cookie_valid

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.2

do_action('auth_cookie_valid') is found 1 times:

  • /wp-includes/pluggable.php line 837
    833
    834
    835
    836
    837
    838
    839
    840
    841
    842
    843
             *     @type string $scheme     The cookie scheme to use.
             * }
             * @param WP_User  $user            User object.
             */
            do_action( 'auth_cookie_valid', $cookie_elements, $user );
     
            return $user->ID;
        }
    endif;
     
    if ( ! function_exists( 'wp_generate_auth_cookie' ) ) :

See this hook used in plugins: