pmpro_status_filter

The Paid Memberships Pro pmpro status filter function.

Description

pmpro_status_filter( $s ); 

Parameters (1)

0. $s
The s.

Usage

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

Defined (1)

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

/includes/https.php  
  1. function pmpro_status_filter($s) 
  2. global $isapage; 
  3. if($isapage && strpos($s, "404")) 
  4. return false; //don't send the 404 
  5. else 
  6. return $s;