Server IP : 104.21.14.48 / Your IP : 3.141.47.50 [ Web Server : Apache System : Linux b70eb322-3aee-0c53-7c82-0db91281f2c6.secureserver.net 6.1.90-1.el9.elrepo.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 2 12:09:22 EDT 2024 x86_64 User : root ( 0) PHP Version : 8.0.30.2 Disable Function : NONE Domains : 0 Domains MySQL : ON | cURL : ON | WGET : ON | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/wp-content/plugins/ultimate-dashboard/modules/feature/ |
Upload File : |
<?php /** * Branding output. * * @package Ultimate_Dashboard */ namespace Udb\Feature; defined( 'ABSPATH' ) || die( "Can't access directly" ); use Udb\Base\Base_Output; /** * Class to setup dashboard output. */ class Feature_Output extends Base_Output { /** * The class instance. * * @var object */ public static $instance; /** * The current module url. * * @var string */ public $url; /** * Module constructor. */ public function __construct() { $this->url = ULTIMATE_DASHBOARD_PLUGIN_URL . '/modules/feature'; } /** * Get instance of the class. */ public static function get_instance() { if ( null === self::$instance ) { self::$instance = new self(); } return self::$instance; } /** * Setup dashboard output. */ public function setup() { // add_filter( 'admin_footer_text', array( self::get_instance(), 'footer_text' ) ); // add_filter( 'update_footer', array( self::get_instance(), 'version_text' ), 20 ); } }