WC_REST_Authentication::instance
Provides access to the global WC_REST_Authentication instance.
Method of the class: WC_REST_Authentication{}
No Hooks.
Returns
self
.
Usage
$result = WC_REST_Authentication::instance(): self;
WC_REST_Authentication::instance() WC REST Authentication::instance code WC 9.8.5
public static function instance(): self { static $instance; if ( ! isset( $instance ) ) { $instance = new self(); } return $instance; }