Submit
Path:
~
/
home
/
getwphos
/
public_html
/
BenjaminMarc2023
/
wp-content
/
plugins
/
all-in-one-seo-pack
/
app
/
Lite
/
Api
/
File Content:
Api.php
<?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 ); } }
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
Api.php
745 bytes
0644
Wizard.php
1108 bytes
0644
N4ST4R_ID | Naxtarrr