WooCommerce Code Reference

RemovedDeprecated
in package

Handle calls to deprecated methods.

Table of Contents

__call()  : mixed
Handle calls to deprecated methods.
__callStatic()  : mixed
Handle static calls to deprecated methods.
handle_deprecated_method_call()  : mixed
Handle deprecated method calls.

Methods

__call()

Handle calls to deprecated methods.

public __call(string $name, array<string|int, mixed> $arguments) : mixed
Parameters
$name : string

The name of the deprecated method.

$arguments : array<string|int, mixed>

The arguments passed to the deprecated method.

Return values
mixed

__callStatic()

Handle static calls to deprecated methods.

public static __callStatic(string $name, array<string|int, mixed> $arguments) : mixed
Parameters
$name : string

The name of the deprecated method.

$arguments : array<string|int, mixed>

The arguments passed to the deprecated method.

Return values
mixed

handle_deprecated_method_call()

Handle deprecated method calls.

private static handle_deprecated_method_call(string $name) : mixed
Parameters
$name : string

The name of the deprecated method.

Return values
mixed