gform_is_ssl

gform_is_ssl

DescriptionUsageExamplesPlacementSource Code

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
1add_filter( 'gform_is_ssl', '__return_true' );
Examples
1add_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

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注