woocommerce_api_delete_customer

woocommerce_api_delete_customer

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

See hook in core

Displaying hooks found in version: woocommerce.8.9.3

do_action('woocommerce_api_delete_customer') is found 2 times:

  • /includes/legacy/api/v2/class-wc-api-customers.php line 461
    		if ( is_wp_error( $id ) ) {
    			return $id;
    		}
    
    		do_action( 'woocommerce_api_delete_customer', $id, $this );
    
    		return $this->delete( $id, 'customer' );
    	}
    
    	/**
    	 * Get the orders for a customer
    
  • /includes/legacy/api/v3/class-wc-api-customers.php line 462
    		if ( is_wp_error( $id ) ) {
    			return $id;
    		}
    
    		do_action( 'woocommerce_api_delete_customer', $id, $this );
    
    		return $this->delete( $id, 'customer' );
    	}
    
    	/**
    	 * Get the orders for a customer