HEX
Server: Apache/2.4.65 (Debian)
System: Linux kubikelcreative 5.10.0-35-amd64 #1 SMP Debian 5.10.237-1 (2025-05-19) x86_64
User: www-data (33)
PHP: 8.4.13
Disabled: NONE
Upload Files
File: /var/www/indoadvisory/wp/wp-content/plugins/gpltimes-/inc/Base/RefreshUpdate.php
<?php

/**
 * @package  Gpltimes
 */

namespace Inc\Base;

use Inc\Base\BaseController;

class RefreshUpdate extends BaseController
{
    public function register()
    {
        add_filter("plugin_action_links_$this->plugin", array( $this, 'update_link' ));
    }

    public function update_link($links)
    {
        $update_link = '<a href="admin.php?page=disable_update_check">Check Update</a>';
        array_push($links, $update_link);
        return $links;
    }
}