WordPress at Your Fingertips
filter is not described

woocommerce_cookie_httponly filter-hook . WC 1.0

Set a cookie - wrapper for setcookie using WP constants.


add_filter( 'woocommerce_cookie_httponly', 'filter_function_name_1310', 10, 5 );
function filter_function_name_1310( $name, $value, $expire, $secure, $httponly ){
	// filter...

	return $name;
Name of the cookie being set.
Value of the cookie.
Expiry of the cookie.
Whether the cookie should be served only over https.
Whether the cookie is only accessible over HTTP, not scripting languages like JavaScript. @since 3.6.0.

Where the hook is called

woocommerce/includes/wc-core-functions.php 1052
setcookie( $name, $value, $expire, COOKIEPATH ? COOKIEPATH : '/', COOKIE_DOMAIN, $secure, apply_filters( 'woocommerce_cookie_httponly', $httponly, $name, $value, $expire, $secure ) );

Where in WP core the hook is used WooCommerce

Usage not found.