secure_logged_in_cookie

secure_logged_in_cookie

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('secure_logged_in_cookie') is found 1 times:

  • /wp-includes/pluggable.php line 1021
    1017
    1018
    1019
    1020
    1021
    1022
    1023
    1024
    1025
    1026
    1027
    * @param bool $secure_logged_in_cookie Whether the logged in cookie should only be sent over HTTPS.
     * @param int  $user_id                 User ID.
     * @param bool $secure                  Whether the auth cookie should only be sent over HTTPS.
     */
    $secure_logged_in_cookie = apply_filters( 'secure_logged_in_cookie', $secure_logged_in_cookie, $user_id, $secure );
     
    if ( $secure ) {
        $auth_cookie_name = SECURE_AUTH_COOKIE;
        $scheme           = 'secure_auth';
    } else {
        $auth_cookie_name = AUTH_COOKIE;