????JFIF??x?x????'
| Server IP : 104.21.30.238 / Your IP : 216.73.216.145 Web Server : LiteSpeed System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : tempvsty ( 647) PHP Version : 8.0.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /././home/tempvsty/eaabusiness.com/wp-content/plugins/woocommerce/src/Admin/API/AI/ |
Upload File : |
<?php
declare( strict_types = 1 );
namespace Automattic\WooCommerce\Admin\API\AI;
/**
* AI Endpoint base controller
*
* @internal
*/
abstract class AIEndpoint {
/**
* Endpoint namespace.
*
* @var string
*/
protected $namespace = 'wc-admin';
/**
* Route base.
*
* @var string
*/
protected $rest_base = 'ai';
/**
* Endpoint.
*
* @var string
*/
protected $endpoint;
/**
* Register routes.
*
* @param array $args Optional. Either an array of options for the endpoint,
* or an array of arrays for multiple methods. Default empty array.
*/
public function register( $args ) {
register_rest_route(
$this->namespace,
'/' . $this->rest_base . '/' . $this->endpoint,
$args
);
}
/**
* Return schema properties.
*
* @return array
*/
public function get_schema() {
return array();
}
}