__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?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".
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| assets | Folder | 0775 |
|
|
| data | Folder | 0775 |
|
|
| database | Folder | 0775 |
|
|
| notifications | Folder | 0775 |
|
|
| user | Folder | 0775 |
|
|
| admin-bar.php | File | 672 B | 0664 |
|
| admin-page.php | File | 3.57 KB | 0664 |
|
| document-events.php | File | 2.69 KB | 0664 |
|
| module.php | File | 6.34 KB | 0664 |
|
| usage.php | File | 7.79 KB | 0664 |
|
| utils.php | File | 2.36 KB | 0664 |
|