WordPress at Your Fingertips
  • About About Contacts RSS feed
  • WordPress WordPress Cheat Sheet Codex Sitemap WP-CLI
  • Functions Functions Conditional Tags Template Tags By Files WordPress - all WooCommerce - all
  • Hooks Hooks Trigger Order WordPress - all WooCommerce - all
  • Notes Notes
Log In . Register
› Plugins › WooCommerce › All Functions › RouteException ›
function is not described

Automattic\WooCommerce\StoreApi\Exceptions

RouteException::getErrorCode() │ public │ WC 1.0

Returns the error code.

Method of the class: RouteException{}

No Hooks.

Return

String.

Usage

$RouteException = new RouteException();
$RouteException->getErrorCode();

RouteException::getErrorCode() RouteException::getErrorCode code WC 7.7.0

woocommerce/packages/woocommerce-blocks/src/StoreApi/Exceptions/RouteException.php
public function getErrorCode() {
	return $this->error_code;
}
WooCommerce
4094 голоса
5 ★
3391
4 ★
168
3 ★
92
2 ★
92
1 ★
351
90%
Download
Version7.7.2 — 2 days ago Changelog
Activated on5 000 000+ sites
Linkswordpress.org
woocommerce.com
Author Automattic
Tested onWP 6.2.2 Version compatibility
RequiresWP 6.0+
RequiresPHP 7.3+ Version compatibility
Created11.6 years ago

Testplugintests.com
Code ofplugins.svn.wordpress.org
Versions
7.7.2   7.7.1   7.7.0   ····
WP-CLIwp plugin install woocommerce --activate
WooCommerce
  • All Functions of WooCommerce
  • All Hooks of WooCommerce
Kama © 2010-2023
SQL: 3 in 0.128 sec. 4.98 MB
Contacts
Upload image
DRAG and DROP or past from the CLIPBOARD