PluginProbe
Age Gate / 3.7.3
Age Gate v3.7.3
3.7.3 trunk 1.0.0 1.0.1 1.1.0 1.2.0 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.4.0 1.4.1 1.4.10 1.4.11 1.4.12 1.4.13 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.4.8 All 113 releases
age-gate / src / Admin / Controller / TroubleShootingController.php

TroubleShootingController.php in Age Gate 3.7.3, at src/Admin/Controller/TroubleShootingController.php

33 lines 615 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace AgeGate\Admin\Controller;
4
5 use AgeGate\Common\Immutable\Constants;
6 use AgeGate\Common\Admin\AbstractController;
7
8
9 class TroubleShootingController extends AbstractController
10 {
11 protected $template = 'troubleshooting';
12
13 public function register(): void
14 {
15 $this->menu(__('Troubleshooting', 'age-gate'), Constants::ADVANCED);
16 }
17
18 protected function required(): bool
19 {
20 return current_user_can(Constants::ADVANCED);
21 }
22
23 protected function data() : array
24 {
25 return [];
26 }
27
28 protected function fields() : array
29 {
30 return [];
31 }
32 }
33