Файловый менеджер - Редактировать - /home/tuudkjt/globeasy/wp-content/plugins/reviewx/app/Handlers/StoreFrontReviewDataHandller.php
Назад
<?php namespace Rvx\Handlers; use Rvx\Api\WpApi; use Rvx\WPDrill\Contracts\InvokableContract; use Rvx\WPDrill\Facades\View; class StoreFrontReviewDataHandller implements InvokableContract { protected WpApi $wpApi; /** * */ public function __construct() { $this->wpApi = new WpApi(); } public function __invoke() { View::output('storefront/reviews', ['title' => 'Welcome Deshboard review', 'content' => 'A WordPress Plugin development framework for humans', 'response' => $this->wpApi->get('/reviews')]); } public function storefrontTest($data) { } }
| ver. 1.6 |
Github
|
.
| PHP 8.1.34 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка