WooCommerce Code Reference

Autoloader
in package

Autoloader class.

Tags
since
3.7.0

Table of Contents

init()  : bool
Require the autoloader and return the result.
missing_autoloader()  : mixed
If the autoloader is missing, add an admin notice.
__construct()  : mixed
Static-only class.

Methods

init()

Require the autoloader and return the result.

public static init() : bool

If the autoloader is not present, let's log the failure and display a nice admin notice.

Return values
bool

missing_autoloader()

If the autoloader is missing, add an admin notice.

protected static missing_autoloader() : mixed
Return values
mixed

__construct()

Static-only class.

private __construct() : mixed
Return values
mixed