function mepr_capture_recurring_sub( $event ) { // Get the transaction data from the event $txn = $event->get_data(); // Send the transaction receipt email MeprUtils::send_transaction_receipt_notices( $txn ); } // Attach the ‘mepr_capture_recurring_sub’ function to the ‘mepr-event-subscription-payment-completed’ event. add_action( ‘mepr_event_transaction_completed’, ‘mepr_capture_recurring_sub’ );Continue reading
function mepr_capture_new_one_time_sub( $event ) { // Get the transaction data from the event $txn = $event->get_data(); // Send the transaction receipt email MeprUtils::send_transaction_receipt_notices( $txn ); } // Attach the ‘mepr_capture_new_one_time_sub’ function to the ‘mepr-event-non-recurring-transaction-completed’ event. add_action( ‘mepr_event_non_recurring_transaction_completed’, ‘mepr_capture_new_one_time_sub’ );Continue reading
google-site-verification=3G4LhnxdCyUKQP-Hh3Re_gVM6oB2csSIWbSa6N1KbK0Continue reading
google-site-verification=3G4LhnxdCyUKQP-Hh3Re_gVM6oB2csSIWbSa6N1KbK0Continue reading
google-site-verification=3G4LhnxdCyUKQP-Hh3Re_gVM6oB2csSIWbSa6N1KbK0Continue reading
// La cookie de login durará 354 días. Usar en sitios en los que sólo entramos nosotros add_filter(‘auth_cookie_expiration’, function ($expires) { return 3153600000; // Logged in for 365 days });Continue reading