pmpro_no_quotes

The Paid Memberships Pro pmpro no quotes function.

Description

pmpro_no_quotes( $s, (array) $quotes = array() ); 

Parameters (2)

0. $s
The s.
1. $quotes — Optional. (array) => array()
The quotes.

Usage

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

Defined (1)

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

/includes/functions.php  
  1. function pmpro_no_quotes($s, $quotes = array("'", '"')) 
  2. return str_replace($quotes, "", $s);