Toggle navigation
Hot Examples
PT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Pesquisar
Página Inicial
WC_Shipping_Method
calculate_shipping
WC_Shipping_Method::calculate_shipping PHP Method
WC_Shipping_Method Class Documentation
Exibir arquivo
Open project: woocommerce/woocommerce
calculate_shipping()
public
method
Called to calculate shipping rates for this method. Rates can be added using the add_rate() method.
public
calculate_shipping
(
$package
= [] )
public function calculate_shipping($package = array()) { }
WC_Shipping_Method
__construct
add_rate
admin_options
calculate_shipping
get_admin_options_html
get_fee
get_instance_form_fields
get_instance_id
get_instance_option
get_instance_option_key
get_method_description
get_method_title
get_option
get_rate_id
get_rates_for_package
get_taxes_per_item
get_title
has_settings
init_instance_settings
is_available
is_enabled
is_taxable
process_admin_options
supports