WordPress at Your Fingertips
function is not described

WC_Admin_Notices::secure_connection_notice() public WC 1.0

Notice about secure connection.

{} It's a method of the class: WC_Admin_Notices{}

No Hooks.

Return

null. Nothing.

Usage

$result = WC_Admin_Notices::secure_connection_notice();

Code of WC_Admin_Notices::secure_connection_notice() WC 5.9.0

public static function secure_connection_notice() {
	if ( self::is_ssl() || get_user_meta( get_current_user_id(), 'dismissed_no_secure_connection_notice', true ) ) {
		return;
	}

	include dirname( __FILE__ ) . '/views/html-notice-secure-connection.php';
}