pmpro_profile_start_date

The Paid Memberships Pro pmpro profile start date hook.

Description

apply_filters( 'pmpro_profile_start_date', (unknown) $order_profilestartdate, (unknown) $order ); 

Parameters (2)

0. $order_profilestartdate (unknown)
The order profilestartdate.
1. $order (unknown)
The order.

Usage

To run the hook, copy the example below.
  1. $order_profilestartdate = apply_filters( 'pmpro_profile_start_date', $order_profilestartdate, $order ); 
  2.  
  3. if ( !empty( $order_profilestartdate ) ) { 
  4.  
  5. // everything has led up to this point... 
  6.  
  7.  
The following example is for adding a hook callback.
  1. // define the pmpro_profile_start_date callback 
  2. function filter_pmpro_profile_start_date( $order_profilestartdate, $order ) { 
  3. // make filter magic happen here... 
  4. return $order_profilestartdate
  5. }; 
  6.  
  7. // add the filter 
  8. add_filter( 'pmpro_profile_start_date', 'filter_pmpro_profile_start_date', 10, 2 ); 
To remove a hook callback, use the example below.
  1. // remove the filter 
  2. remove_filter( 'pmpro_profile_start_date', 'filter_pmpro_profile_start_date', 10, 2 ); 

Defined (19)

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

/classes/gateways/class.pmprogateway_stripe.php  
  1. $order->ProfileStartDate = apply_filters("pmpro_profile_start_date", $order->ProfileStartDate, $order); 
/classes/gateways/class.pmprogateway_paypalstandard.php  
  1. $adjusted_psd = apply_filters("pmpro_profile_start_date", $psd, $order); 
/classes/gateways/class.pmprogateway_paypalexpress.php  
  1. $order->ProfileStartDate = apply_filters("pmpro_profile_start_date", $order->ProfileStartDate, $order); 
  1. $order->ProfileStartDate = apply_filters("pmpro_profile_start_date", $order->ProfileStartDate, $order); 
/classes/gateways/class.pmprogateway_paypal.php  
  1. $order->ProfileStartDate = apply_filters("pmpro_profile_start_date", $order->ProfileStartDate, $order); 
  1. $order->ProfileStartDate = apply_filters("pmpro_profile_start_date", $order->ProfileStartDate, $order); 
/classes/gateways/class.pmprogateway_payflowpro.php  
  1. $order->ProfileStartDate = apply_filters("pmpro_profile_start_date", $order->ProfileStartDate, $order); 
  1. $order->ProfileStartDate = apply_filters("pmpro_profile_start_date", $order->ProfileStartDate, $order); 
  1. $order->ProfileStartDate = apply_filters("pmpro_profile_start_date", $order->ProfileStartDate, $order); 
/classes/gateways/class.pmprogateway_cybersource.php  
  1. $order->ProfileStartDate = apply_filters("pmpro_profile_start_date", $order->ProfileStartDate, $order); 
  1. $order->ProfileStartDate = apply_filters("pmpro_profile_start_date", $order->ProfileStartDate, $order); 
  1. $order->ProfileStartDate = apply_filters("pmpro_profile_start_date", $order->ProfileStartDate, $order); 
/classes/gateways/class.pmprogateway_check.php  
  1. $order->ProfileStartDate = apply_filters("pmpro_profile_start_date", $order->ProfileStartDate, $order); 
  1. $order->ProfileStartDate = apply_filters("pmpro_profile_start_date", $order->ProfileStartDate, $order); 
/classes/gateways/class.pmprogateway_braintree.php  
  1. $order->ProfileStartDate = apply_filters("pmpro_profile_start_date", $order->ProfileStartDate, $order); 
/classes/gateways/class.pmprogateway_authorizenet.php  
  1. $order->ProfileStartDate = apply_filters("pmpro_profile_start_date", $order->ProfileStartDate, $order); 
  1. $order->ProfileStartDate = apply_filters("pmpro_profile_start_date", $order->ProfileStartDate, $order); 
/classes/gateways/class.pmprogateway.php  
  1. $order->ProfileStartDate = apply_filters("pmpro_profile_start_date", $order->ProfileStartDate, $order); 
  1. $order->ProfileStartDate = apply_filters("pmpro_profile_start_date", $order->ProfileStartDate, $order);