PMPRO_USER_AGENT

The Paid Memberships Pro PMPRO USER AGENT constant.

Value (string)

'Paid Memberships Pro v' . PMPRO_VERSION . '; ' . site_url() 

Usage

  1. if ( defined( 'PMPRO_USER_AGENT' ) ) { 
  2.  
  3. // grab the value 
  4. $value = constant( 'PMPRO_USER_AGENT' ); 
  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_USER_AGENT', 'Paid Memberships Pro v' . PMPRO_VERSION . '; ' . site_url());