WC_Shipping_Method::calculate_shipping( array $package = array() )
Called to calculate shipping rates for this method. Rates can be added using the add_rate() method.
Description Description
Parameters Parameters
- $package
-
(Optional) Package array.
Default value: array()
Source Source
File: includes/abstracts/abstract-wc-shipping-method.php
public function calculate_shipping( $package = array() ) {}