RestroPress

⌘K
  1. Home
  2. Docs
  3. RestroPress
  4. Developer Docs
  5. Filters
  6. rpress_payment_user_email

rpress_payment_user_email

This filter is applied to use the retrieve payment email, it is including two parameters.
$email -> is to get the email.
$ID  -> is used to get id.

function get_payment_user_email( $email ){
//its return email id of user
return $email
}
add_filter( 'rpress_payment_user_email', 'get_payment_user_email',10,2 );

 

How can we help?