pmpro_upgrade_1_3_18

The Paid Memberships Pro pmpro upgrade 1 3 18 function.

Description

pmpro_upgrade_1_3_18(); 

Usage

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

Defined (1)

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

/includes/updates/upgrade_1_3_18.php  
  1. function pmpro_upgrade_1_3_18() 
  2. //setting new email settings defaults 
  3. pmpro_setOption("email_admin_checkout", "1"); 
  4. pmpro_setOption("email_admin_changes", "1"); 
  5. pmpro_setOption("email_admin_cancels", "1"); 
  6. pmpro_setOption("email_admin_billing", "1"); 
  7.  
  8. pmpro_setOption("db_version", "1.318"); 
  9. return 1.318;