WordPress at Your Fingertips
filter is not described

wc_session_use_secure_cookie filter-hook . WC 3.6.0

Should the session cookie be secure?

Usage

add_filter( 'wc_session_use_secure_cookie', 'filter_function_name_9576' );
function filter_function_name_9576( $condition ){
	// filter...

	return $condition;
}
$condition
-

Changelog

Since 3.6.0 Introduced.

Where the hook is called

WC_Session_Handler::use_secure_cookie()
wc_session_use_secure_cookie
woocommerce/includes/class-wc-session-handler.php 147
return apply_filters( 'wc_session_use_secure_cookie', wc_site_is_https() && is_ssl() );

Where in WP core the hook is used WooCommerce

Usage not found.