pmpro_NuclearHTTPS

This code is for the "nuke" option to make URLs secure on secure pages.

Description

pmpro_NuclearHTTPS(); 

Usage

  1. if ( !function_exists( 'pmpro_NuclearHTTPS' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'paid-memberships-pro/includes/https.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = pmpro_NuclearHTTPS(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/includes/https.php  
  1. function pmpro_NuclearHTTPS() 
  2. //did they choose the option? 
  3. $nuking = pmpro_getOption("nuclear_HTTPS"); 
  4. if(!empty($nuking)) 
  5. ob_start("pmpro_replaceURLsInBuffer");