gform_is_ssl

Description

Use this filter to determine whether or not the current page is running securely (https). Useful when using a proxy server that does not set the $_SERVER[‘HTTPS’] variable.

Usage

add_filter( 'gform_is_ssl', '__return_true' );

Examples

add_filter( 'gform_is_ssl', '__return_true' );

Placement

This code should be placed in the functions.php file of your active theme.

Source Code

This filter is located in GFCommon::is_ssl() in common.php