$38 GRAYBYTE WORDPRESS FILE MANAGER $23

SERVER : vnpttt-amd7f72-h1.vietnix.vn #1 SMP Fri May 24 12:42:50 UTC 2024
SERVER IP : 103.200.23.149 | ADMIN IP 216.73.216.22
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/home/bqrcodec/contact.fpt.auto/wp-content/plugins/sql-buddy/includes/

HOME
Current File : /home/bqrcodec/contact.fpt.auto/wp-content/plugins/sql-buddy/includes//Plugin.php
<?php
/**
 * Plugin initialization file.
 *
 * @package   SQL_Buddy
 * @license   https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0
 * @link      https://github.com/deliciousbrains/sql-buddy/
 */

namespace SQL_Buddy;

use SQL_Buddy\REST_API\Table_Controller;

/**
 * Class Plugin
 */
class Plugin {

	/**
	 * Dashboard.
	 *
	 * @var Dashboard
	 */
	public $dashboard;

	/**
	 * User Preferences class.
	 *
	 * @var User_Preferences
	 */
	public $user_preference;

	/**
	 * Initialize plugin functionality.
	 *
	 * @return void
	 */
	public function register() {
		$this->user_preference = new User_Preferences();
		add_action( 'init', array( $this->user_preference, 'register' ) );

		$this->dashboard = new Dashboard();
		add_action( 'init', array( $this->dashboard, 'init' ) );

		// REST API endpoints.
		// High priority so it runs after create_initial_rest_routes().
		add_action( 'rest_api_init', [ $this, 'register_rest_routes' ], 100 );
	}

	/**
	 * Registers REST API routes.
	 *
	 * @return void
	 */
	public function register_rest_routes() {
		$table_controller = new Table_Controller( $this->user_preference );
		$table_controller->register_routes();
	}
}

Current_dir [ WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
30 Jan 2024 5.36 PM
bqrcodec / bqrcodec
0755
REST_API
--
30 Jan 2024 5.36 PM
bqrcodec / bqrcodec
0755
Traits
--
30 Jan 2024 5.36 PM
bqrcodec / bqrcodec
0755
templates
--
30 Jan 2024 5.35 PM
bqrcodec / bqrcodec
0755
vendor
--
30 Jan 2024 5.36 PM
bqrcodec / bqrcodec
0755
DB.php
4.795 KB
30 Jan 2024 5.36 PM
bqrcodec / bqrcodec
0755
Dashboard.php
3.639 KB
30 Jan 2024 5.36 PM
bqrcodec / bqrcodec
0755
Plugin.php
1.154 KB
30 Jan 2024 5.36 PM
bqrcodec / bqrcodec
0755
User_Preferences.php
2.038 KB
30 Jan 2024 5.36 PM
bqrcodec / bqrcodec
0755
namespace.php
2.188 KB
30 Jan 2024 5.36 PM
bqrcodec / bqrcodec
0755

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF