File manager - Edit - /home/carfac/.trash/wp-statistics/src/Service/Admin/Notification/NotificationManager.php
Back
<?php namespace WP_Statistics\Service\Admin\Notification; use WP_Statistics\Components\Event; use WP_STATISTICS\Option; class NotificationManager { /** * NotificationManager constructor. * * Initializes hooks for AJAX callbacks, cron schedules, * and schedules the notification fetch event. */ public function __construct() { if (Option::get('display_notifications')) { add_action('admin_init', [$this, 'registerActions']); } } /** * Registers notification actions. * * @return void */ public function registerActions() { $notificationActions = new NotificationActions(); $notificationActions->register(); } }
| ver. 1.4 |
Github
|
.
| PHP 8.2.31 | Generation time: 0.25 |
proxy
|
phpinfo
|
Settings