at path:
ROOT
/
wp-content
/
plugins
/
elementor-pro
/
modules
/
notes
/
admin-bar.php
run:
R
W
Run
assets
DIR
2025-12-13 10:15:59
R
W
Run
data
DIR
2025-12-13 10:18:36
R
W
Run
database
DIR
2025-12-13 10:18:36
R
W
Run
notifications
DIR
2025-12-13 10:18:36
R
W
Run
user
DIR
2025-12-13 10:18:36
R
W
Run
admin-bar.php
672 By
2024-10-19 01:21:22
R
W
Run
Delete
Rename
admin-page.php
3.57 KB
2024-10-19 01:21:22
R
W
Run
Delete
Rename
document-events.php
2.69 KB
2024-10-19 01:21:22
R
W
Run
Delete
Rename
module.php
6.35 KB
2024-10-19 01:21:22
R
W
Run
Delete
Rename
usage.php
7.79 KB
2024-10-19 01:21:22
R
W
Run
Delete
Rename
utils.php
2.36 KB
2024-10-19 01:21:22
R
W
Run
Delete
Rename
error_log
up
📄
admin-bar.php
Save
<?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". } }