File "Api.php"
Full Path: /home/flipjqml/onlinebetsolution.com/wp-content/plugins/all-in-one-seo-pack/app/Lite/Api/Api.php
File size: 745 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
namespace AIOSEO\Plugin\Lite\Api;
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
use AIOSEO\Plugin\Common\Api as CommonApi;
/**
* Api class for the admin.
*
* @since 4.0.0
*/
class Api extends CommonApi\Api {
/**
* The routes we use in the rest API.
*
* @since 4.0.0
*
* @var array
*/
protected $liteRoutes = [
// phpcs:disable WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound
// phpcs:enable WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound
];
/**
* Get all the routes to register.
*
* @since 4.0.0
*
* @return array An array of routes.
*/
protected function getRoutes() {
return array_merge_recursive( $this->routes, $this->liteRoutes );
}
}