woocommerce_force_ssl_checkout filter-hook . WC 1.0
Template redirect - if we end up on a page ensure it has the correct http/https url.
Usage
add_filter( 'woocommerce_force_ssl_checkout', 'filter_function_name_7565' ); function filter_function_name_7565( $false ){ // filter... return $false; }
- $false
- -
Where the hook is called
woocommerce_force_ssl_checkout
woocommerce/includes/class-wc-https.php 89
if ( ! is_ssl() && ( is_checkout() || is_account_page() || apply_filters( 'woocommerce_force_ssl_checkout', false ) ) ) {