PMPRO_DOMAIN

The Paid Memberships Pro PMPRO DOMAIN constant.

Value (unknown)

pmpro_getDomainFromURL(site_url()) 

Usage

  1. if ( defined( 'PMPRO_DOMAIN' ) ) { 
  2.  
  3. // grab the value 
  4. $value = constant( 'PMPRO_DOMAIN' ); 
  5.  
  6. if ( !empty( $value ) ) { 
  7. // go forth and prosper... 
  8.  

Defined (1)

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

/paid-memberships-pro.php  
  1. define("PMPRO_DOMAIN", pmpro_getDomainFromURL(site_url()));