woocommerce_delete_customer

woocommerce_delete_customer

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

do_action('woocommerce_delete_customer') is found 1 times:

  • /includes/data-stores/class-wc-customer-data-store.php line 244
     
    		$id = $customer->get_id();
    		wp_delete_user( $id, $args['reassign'] );
    
    		do_action( 'woocommerce_delete_customer', $id );
    	}
    
    	/**
    	 * Helper method that updates all the meta for a customer. Used for update & create.
    	 *
    	 * @since 3.0.0