pmpro_applydiscountcode_init

The Paid Memberships Pro pmpro applydiscountcode init function.

Description

pmpro_applydiscountcode_init(); 

Usage

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

Defined (1)

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

/includes/services.php  
  1. function pmpro_applydiscountcode_init() 
  2. require_once(dirname(__FILE__) . "/../services/applydiscountcode.php");  
  3. exit;