WC_Helper_API::load() public WC 1.0
Load
Allow devs to point the API base to a local API development or staging server. Note that sslverify will be turned off for the woocommerce.dev + WP_DEBUG combination. The URL can be changed on plugins_loaded before priority 10.
{} Это метод класса: WC_Helper_API{}
Хуки из метода
Возвращает
Null. Ничего.
Использование
$result = WC_Helper_API::load();
Код WC_Helper_API::load() WC Helper API::load WC 5.0.0
public static function load() {
self::$api_base = apply_filters( 'woocommerce_helper_api_base', 'https://woocommerce.com/wp-json/helper/1.0' );
}