File manager - Edit - /home/adiance/public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Api/Integrations/WpCode.php
Back
<?php namespace AIOSEO\Plugin\Common\Api\Integrations; // Exit if accessed directly. if ( ! defined( 'ABSPATH' ) ) { exit; } use AIOSEO\Plugin\Common\Integrations\WpCode as WpCodeIntegration; /** * Route class for the API. * * @since 4.3.8 */ class WpCode { /** * Load the WPCode Snippets from the library, if available. * * @since 4.3.8 * * @param \WP_REST_Request $request The REST Request * @return \WP_REST_Response The response. */ public static function getSnippets( $request ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable return new \WP_REST_Response( [ 'success' => true, 'snippets' => WpCodeIntegration::loadWpCodeSnippets(), 'pluginInstalled' => WpCodeIntegration::isPluginInstalled(), 'pluginActive' => WpCodeIntegration::isPluginActive(), 'pluginNeedsUpdate' => WpCodeIntegration::pluginNeedsUpdate() ], 200 ); } }
| ver. 1.4 |
Github
|
.
| PHP 7.3.33 | Generation time: 0.07 |
proxy
|
phpinfo
|
Settings