HEX
Server: Apache
System: Linux web5.visualcom.es 4.18.0-477.21.1.lve.1.el8.x86_64 #1 SMP Tue Sep 5 23:08:35 UTC 2023 x86_64
User: ensaco.es (10019)
PHP: 8.3.32
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/ensaco.es/httpdocs/wp-content/plugins/woocommerce/src/Admin/API/Settings.php
<?php
/**
 * REST API Settings Controller (compatibility stub).
 *
 * @package WooCommerce\Admin\API
 */

declare( strict_types = 1 );

namespace Automattic\WooCommerce\Admin\API;

defined( 'ABSPATH' ) || exit;

/**
 * Settings controller.
 *
 * The real controller was removed in 10.9 with the settings editor. This empty stub stays so an
 * in-memory 10.8 controller list, still naming this class while the files are swapped to 10.9
 * during an update, can instantiate it instead of fataling on the deleted file. It registers
 * nothing.
 *
 * @deprecated 10.9.0
 */
class Settings {

	/**
	 * Register routes. Intentionally a no-op.
	 */
	public function register_routes(): void {}
}