Flat_Rate extends WC_Shipping_Flat_Rate

Flat Rate Shipping Method for Wholesale Customers.

Tags
version
1.0.0
since
2.0.0

Table of Contents

$hide  : bool
Whether the method is hidden or not.
__construct()  : mixed
Constructor.
get_hide()  : mixed
init()  : void
Initialize the shipping method

Properties

$hide

Whether the method is hidden or not.

protected bool $hide = false
Tags

Methods

__construct()

Constructor.

public __construct(int $instance_id) : mixed
Parameters
$instance_id : int

Shipping method instance ID.

Tags
Return values
mixed

get_hide()

public get_hide() : mixed
Tags
Return values
mixed

init()

Initialize the shipping method

public init() : void
Tags
Return values
void

Search results