PHP Class WC_Shipping_Legacy_Local_Delivery

This class is here for backwards commpatility for methods existing before zones existed.
Deprecation: 2.6.0
Author: WooThemes
Inheritance: extends WC_Shipping_Local_Pickup
Afficher le fichier Open project: woocommerce/woocommerce

Méthodes publiques

Méthode Description
__construct ( ) Constructor.
calculate_shipping ( array $package = [] ) calculate_shipping function.
get_option_key ( ) : string Return the name of the option in the WP DB.
init ( ) init function.
init_form_fields ( ) Init form fields.
process_admin_options ( ) Process and redirect if disabled.

Method Details

__construct() public méthode

Constructor.
public __construct ( )

calculate_shipping() public méthode

calculate_shipping function.
public calculate_shipping ( array $package = [] )
$package array (default: array())

get_option_key() public méthode

Return the name of the option in the WP DB.
Since: 2.6.0
public get_option_key ( ) : string
Résultat string

init() public méthode

init function.
public init ( )

init_form_fields() public méthode

Init form fields.
public init_form_fields ( )

process_admin_options() public méthode

Process and redirect if disabled.