shopp_customer_update

Called when a customer’s profile is updated / saved from their account dashboard.

add_action('shopp_customer_update', [callback] );

@param Customer $Customer The Customer account object.

Description

This action is called when a customer’s profile is updated / saved from their account dashboard. The Customer object is passed to the the callback function as a parameter.

Example

// This example shows how this action might be used to send an email
// to a customer when they save their profile.

add_action('shopp_customer_update', 'shopp_customer_update_function');

function shopp_customer_update_function ( $Customer ) {
  $cust_email = $Customer->email; // retrieve the Customer's email address.
  wp_mail( $cust_email, 'Email subject', 'Email message body'); // send a message to the customer.
}

See Also

You must be logged in to post a comment.

© Ingenesis Limited. Shopp™ is a registered trademark of Ingenesis Limited.

Skip to toolbar