woocommerce_redirect_only_method_is_secure

woocommerce_redirect_only_method_is_secure

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

apply_filters('woocommerce_redirect_only_method_is_secure') is found 1 times:

  • /includes/admin/settings/class-wc-settings-products.php line 386
    					),
    					'options'  => array(
    						'force'     => __( 'Force downloads', 'woocommerce' ),
    						'xsendfile' => __( 'X-Accel-Redirect/X-Sendfile', 'woocommerce' ),
    						'redirect'  => apply_filters( 'woocommerce_redirect_only_method_is_secure', false ) ? __( 'Redirect only', 'woocommerce' ) : __( 'Redirect only (Insecure)', 'woocommerce' ),
    					),
    					'autoload' => false,
    				),
    
    				array(
    					'desc'          => __( 'Allow using redirect mode (insecure) as a last resort', 'woocommerce' ),