WC_Helper_Orders_API::load()public staticWC 1.0

Loads the class, runs on init

Method of the class: WC_Helper_Orders_API{}

No Hooks.

Return

null. Nothing (null).

Usage

$result = WC_Helper_Orders_API::load();

WC_Helper_Orders_API::load() code WC 8.9.0

public static function load() {
	add_filter( 'rest_api_init', array( __CLASS__, 'register_rest_routes' ) );
}