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

發表回覆

您的郵箱地址不會被公開。 必填項已用 * 標註