WC_API::is_rest_api_loaded()

Return if the rest API classes were already loaded.


Description Description


Return Return

(boolean)


Top ↑

Source Source

File: includes/class-wc-api.php

	protected function is_rest_api_loaded() {
		return class_exists( '\Automattic\WooCommerce\RestApi\Package', false );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.7.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.