woocommerce_cookie_httponly

woocommerce_cookie_httponly

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

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_cookie_httponly') is found 1 times:

  • /includes/wc-core-functions.php line 1112
    1108
    1109
    1110
    1111
    1112
    1113
    1114
    1115
    1116
    1117
    1118
             * @param string $value    Cookie value.
             * @param int    $expire   When the cookie should expire.
             * @param bool   $secure   If the cookie should only be served over HTTPS.
             */
            'httponly' => apply_filters( 'woocommerce_cookie_httponly', $httponly, $name, $value, $expire, $secure ),
        ),
        $name,
        $value
    );
     
    setcookie( $name, $value, $options );