REDROOM
PHP 8.0.30
Path:
Logout
Edit File
Size: 1.35 KB
Close
/home/certprox/template.certproxywizard.com/wp-content/plugins/hostinger/includes/Admin/Hooks.php
Text
Base64
<?php namespace Hostinger\Admin; use Hostinger\Helper; use Hostinger\WpHelper\Utils; defined( 'ABSPATH' ) || exit; class Hooks { /** * @var Helper */ private Helper $helper; /** * @var Utils */ private Utils $utils; public function __construct( $utils ) { $this->helper = new Helper(); $this->utils = $utils ?? new Utils(); add_action( 'admin_footer', array( $this, 'rate_plugin' ) ); add_filter( 'wp_kses_allowed_html', array( $this, 'custom_kses_allowed_html' ), 10, 1 ); } /** * @return void */ public function rate_plugin(): void { $admin_path = parse_url( admin_url(), PHP_URL_PATH ); if ( ! $this->utils->isThisPage( $admin_path . 'admin.php?page=' . Menu::MENU_SLUG ) ) { return; } require_once HOSTINGER_ABSPATH . 'includes/Admin/Views/Partials/RateUs.php'; } public function custom_kses_allowed_html( $allowed ) { $allowed['svg'] = array( 'xmlns' => true, 'width' => true, 'height' => true, 'viewBox' => true, 'fill' => true, 'style' => true, 'class' => true, ); $allowed['path'] = array( 'd' => true, 'fill' => true, ); return $allowed; } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 3 × Files: 6
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
Jobs
DIR
-
drwxr-xr-x
2026-06-14 00:11:49
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Options
DIR
-
drwxr-xr-x
2026-06-14 00:11:50
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Views
DIR
-
drwxr-xr-x
2026-06-14 00:11:49
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Assets.php
12.32 KB
lrw-r--r--
2026-06-10 16:30:25
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Hooks.php
1.35 KB
lrw-r--r--
2026-06-10 16:30:25
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Menu.php
1.40 KB
lrw-r--r--
2026-06-10 16:30:25
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
PluginSettings.php
1.50 KB
lrw-r--r--
2026-06-10 16:30:25
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Proxy.php
1.63 KB
lrw-r--r--
2026-06-10 16:30:25
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Redirects.php
1.04 KB
lrw-r--r--
2026-06-10 16:30:25
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).