Class WC_Shipping_Flat_Rate
Flat Rate Shipping Method
A simple shipping method for a flat fee per item or per order
- WC_Settings_API
- WC_Shipping_Method
- WC_Shipping_Flat_Rate
Direct known subclasses
Author: WooThemes
Version: 2.0.0
Class: WC_Shipping_Flat_Rate
Located at includes/shipping/flat-rate/class-wc-shipping-flat-rate.php
Methods summary
public
|
|
public
|
|
public
|
|
public
|
|
public
float
|
|
public
float
|
|
public
array
|
|
public
array
|
#
find_shipping_classes( mixed $package )
Finds and returns shipping classes and the products with said class. |
public
boolean
|
|
public
string
|
|
public
|
|
public
array
|
|
public
|
Methods inherited from WC_Shipping_Method
add_rate()
,
get_fee()
,
get_title()
,
has_settings()
,
is_available()
,
is_taxable()
,
supports()
Methods inherited from WC_Settings_API
admin_options()
,
display_errors()
,
format_settings()
,
generate_checkbox_html()
,
generate_decimal_html()
,
generate_multiselect_html()
,
generate_password_html()
,
generate_price_html()
,
generate_select_html()
,
generate_settings_html()
,
generate_text_html()
,
generate_textarea_html()
,
generate_title_html()
,
get_custom_attribute_html()
,
get_description_html()
,
get_form_fields()
,
get_option()
,
get_tooltip_html()
,
init_settings()
,
process_admin_options()
,
validate_checkbox_field()
,
validate_decimal_field()
,
validate_multiselect_field()
,
validate_password_field()
,
validate_price_field()
,
validate_select_field()
,
validate_settings_fields()
,
validate_text_field()
,
validate_textarea_field()
Magic methods summary
Properties summary
Properties inherited from WC_Shipping_Method
$availability
,
$countries
,
$enabled
,
$fee
,
$has_settings
,
$id
,
$method_title
,
$minimum_fee
,
$number
,
$rates
,
$supports
,
$tax_status
,
$title
Properties inherited from WC_Settings_API
$errors
,
$form_fields
,
$plugin_id
,
$sanitized_fields
,
$settings