woocommerce_cookie_httponly

woocommerce_cookie_httponly

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

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_cookie_httponly') is found 1 times:

  • /includes/wc-core-functions.php line 1111
    				 * @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 );