| Server IP : _ / Your IP : 169.254.129.1 Web Server : nginx/1.28.0 System : Linux 89e302d72aa1 6.6.143.1-1.azl3 #1 SMP PREEMPT_DYNAMIC Mon Jul 6 04:01:14 UTC 2026 x86_64 User : nginx ( 103) PHP Version : 8.2.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/wordpress/wp-content/plugins/quadmenu/includes/quadlayers/ |
Upload File : |
<?php
class QuadMenu_Admin_Links {
protected static $_instance;
function __construct() {
add_filter( 'plugin_action_links_' . QUADMENU_PLUGIN_BASENAME, array( $this, 'add_action_links' ) );
}
public function add_action_links( $links ) {
$links[] = '<a target="_blank" href="' . QUADMENU_DEMO_URL . '">' . esc_html__( 'Premium', 'quadmenu' ) . '</a>';
$links[] = '<a href="' . admin_url( 'admin.php?page=' . QUADMENU_PANEL ) . '">' . esc_html__( 'Settings', 'quadmenu' ) . '</a>';
return $links;
}
public static function instance() {
if ( is_null( self::$_instance ) ) {
self::$_instance = new self();
}
return self::$_instance;
}
}
QuadMenu_Admin_Links::instance();