[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@18.118.1.89: ~ $
<?php

namespace ElementorPro\Modules\Notes;

use ElementorPro\Modules\Notes\User\Capabilities;

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

class Admin_Bar {

	/**
	 * Register actions and hooks.
	 *
	 * @return void
	 */
	public function register() {
		add_action( 'admin_bar_menu', function ( \WP_Admin_Bar $wp_admin_bar ) {
			if ( is_admin() || ! current_user_can( Capabilities::READ_NOTES ) ) {
				return;
			}

			$wp_admin_bar->add_node( [
				'id' => 'elementor_notes',
				'title' => esc_html__( 'Notes', 'elementor-pro' ),
				'href' => '#', // Click event is handled by JS.
			] );
		}, 200 ); // Before "Elementor Debugger".
	}
}

Filemanager

Name Type Size Permission Actions
assets Folder 0755
data Folder 0755
database Folder 0755
notifications Folder 0755
user Folder 0755
admin-bar.php File 672 B 0644
admin-page.php File 3.57 KB 0644
document-events.php File 2.69 KB 0644
module.php File 6.73 KB 0644
usage.php File 7.79 KB 0644
utils.php File 2.36 KB 0644