WC_Session_Handler::use_secure_cookie()

Should the session cookie be secure?


Description Description


Return Return

(bool)


Top ↑

Source Source

File: includes/class-wc-session-handler.php

	protected function use_secure_cookie() {
		return apply_filters( 'wc_session_use_secure_cookie', wc_site_is_https() && is_ssl() );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.6.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.